diff lisp/add-log.el @ 73052:91bb1b3f2e7b

(add-log-current-defun): Use `forward-sexp' instead of `forward-word' to pick c++::symbol. Reported by Herbert Euler <herberteuler@hotmail.com>.
author Masatake YAMATO <jet@gyve.org>
date Fri, 22 Sep 2006 14:27:13 +0000
parents 62bb603c277b
children f172c9540c9c bb0e318b7c53
line wrap: on
line diff
--- a/lisp/add-log.el	Fri Sep 22 12:56:44 2006 +0000
+++ b/lisp/add-log.el	Fri Sep 22 14:27:13 2006 +0000
@@ -914,7 +914,7 @@
 			       ;; Include certain keywords if they
 			       ;; precede the name.
 			       (setq middle (point))
-			       (forward-word -1)
+			       (forward-sexp -1)
 			       ;; Is this C++ method?
 			       (when (and (< 2 middle)
 					  (string= (buffer-substring (- middle 2)