summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-01-20 16:58:09 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-01-20 16:58:09 +0100
commitf30cf07ecba8f4316b268b7ad57705a0aa16d660 (patch)
tree494ce046c3d73f86eecbc3dd6fedaaed9f73e484 /test
parentce1a42a6eb41ab7a4473de9e8d8961498568576a (diff)
downloademacs-f30cf07ecba8f4316b268b7ad57705a0aa16d660.tar.gz
Make symbol-at-point return nil if there's no symbols in the buffer
* lisp/thingatpt.el (thing-at-point--beginning-of-symbol): Special op that errors out when there's no symbols in the buffer before point (bug#14234). (symbol): Use it.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/thingatpt-tests.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/lisp/thingatpt-tests.el b/test/lisp/thingatpt-tests.el
index 8eec853d461..62a27f09cbd 100644
--- a/test/lisp/thingatpt-tests.el
+++ b/test/lisp/thingatpt-tests.el
@@ -185,7 +185,6 @@ position to retrieve THING.")
(should (eq (symbol-at-point) 'bar))))
(ert-deftest test-symbol-thing-3 ()
- :expected-result :failed ; FIXME bug#14234
(with-temp-buffer
(insert "`[[`(")
(goto-char 2)