1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

(add-log-current-defun): Remove trailing -=' in C modes.

This commit is contained in:
Richard M. Stallman 1999-07-09 18:37:55 +00:00
parent f165ac6642
commit a0bcdd7f58

View file

@ -634,6 +634,11 @@ Has a preference of looking backwards."
(and (bolp)
(looking-at "struct \\|union \\|class ")
(setq middle (point)))
(goto-char end)
(when (eq (preceding-char) ?=)
(forward-char -1)
(skip-chars-backward " \t")
(setq end (point)))
(buffer-substring middle end)))))))))
((memq major-mode add-log-tex-like-modes)
(if (re-search-backward