1
0
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:
Richard M. Stallman 1994-07-24 02:50:50 +00:00
parent cd6446282d
commit 019644eeaa

View File

@ -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))