mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-09 15:50:21 +00:00
(add-log-current-defun): Skip doc string
correctly even if it ends with line that starts space.
This commit is contained in:
parent
cd6446282d
commit
019644eeaa
@ -358,7 +358,9 @@ Has a preference of looking backwards."
|
||||
;; or the DEFUN macro used by the C library.
|
||||
(if (condition-case nil
|
||||
(and (save-excursion
|
||||
(forward-line 1)
|
||||
(end-of-line)
|
||||
(while (= (preceding-char) ?\\)
|
||||
(end-of-line 2))
|
||||
(backward-sexp 1)
|
||||
(beginning-of-line)
|
||||
(setq tem (point))
|
||||
|
Loading…
Reference in New Issue
Block a user