diff options
author | Alan Mackenzie <acm@muc.de> | 2018-01-06 11:48:32 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2018-01-06 11:48:32 +0000 |
commit | b8d74c4578a6a4f1cabe993209358eb84883b869 (patch) | |
tree | 17acb67bd2ef9925b164e9a934cd7e697e746e01 /test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el | |
parent | a377c652b55db4f118076fec2cdbd65e0d61e31a (diff) | |
download | emacs-b8d74c4578a6a4f1cabe993209358eb84883b869.tar.gz emacs-b8d74c4578a6a4f1cabe993209358eb84883b869.tar.bz2 emacs-b8d74c4578a6a4f1cabe993209358eb84883b869.zip |
Fix mark-defun when there's no spaces between successive defuns.
The problem was a parse-partial-sexp call which tried to use the STOPBEFORE
argument to detect non-syntactic WS. This fails on a "}", which does not
begin a sexp.
* lisp/emacs-lisp/lisp.h (beginning-of-defun--in-emptyish-line-p): Enhance to
handle BOL being in a string.
(beginning-of-defun-comments): Call the above function in place of the call
to parse-partial-sexp.
Diffstat (limited to 'test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el')
0 files changed, 0 insertions, 0 deletions