]> git.eshelyaron.com Git - emacs.git/commit
Make symbol-at-point return nil if there's no symbols in the buffer
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 20 Jan 2021 15:58:09 +0000 (16:58 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 20 Jan 2021 15:58:09 +0000 (16:58 +0100)
commitf30cf07ecba8f4316b268b7ad57705a0aa16d660
tree494ce046c3d73f86eecbc3dd6fedaaed9f73e484
parentce1a42a6eb41ab7a4473de9e8d8961498568576a
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.
lisp/thingatpt.el
test/lisp/thingatpt-tests.el