]> git.eshelyaron.com Git - emacs.git/commit
Fix (thing-at-point 'list) regression (Bug#31772)
authorLeo Liu <sdl.web@gmail.com>
Fri, 14 Sep 2018 14:31:50 +0000 (22:31 +0800)
committerLeo Liu <sdl.web@gmail.com>
Fri, 14 Sep 2018 14:38:58 +0000 (22:38 +0800)
commit1e3b3fa6159db837fca2f2d564e51b01048a906f
tree405eb6253616b634f29433c33fbe560054bcf7d7
parent219893a519e57a53425ea2c821ef0781f9642771
Fix (thing-at-point 'list) regression (Bug#31772)

* lisp/thingatpt.el (thing-at-point-bounds-of-list-at-point): Revert
  to pre 26.1 behavior.  Return whole sexp at point if no enclosing
  list.
  (list-at-point): New optional arg to ignore comments and strings.

* test/lisp/thingatpt-tests.el
  (thing-at-point-bounds-of-list-at-point): Fix and augment tests.
lisp/thingatpt.el
test/lisp/thingatpt-tests.el