]> git.eshelyaron.com Git - emacs.git/commit
Don't return whitespace for thing-at-point in whitespace-only buffers
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 29 Nov 2021 16:18:49 +0000 (17:18 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 29 Nov 2021 16:18:49 +0000 (17:18 +0100)
commitc2c9e7e3cbb485d4240f9c9c44694f310711e4e9
tree494f09c046bd74ff60de4a0df39a2c70042296a6
parent73cf27aa45d80fce85ae44874931bdccadb70964
Don't return whitespace for thing-at-point in whitespace-only buffers

* lisp/thingatpt.el (bounds-of-thing-at-point): If the buffer is
empty, return nil for most things (bug#52098).
lisp/thingatpt.el