changeset 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 09d278e92c70
children 2283ba7c8090
files lisp/ChangeLog lisp/add-log.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Sep 22 12:56:44 2006 +0000
+++ b/lisp/ChangeLog	Fri Sep 22 14:27:13 2006 +0000
@@ -1,3 +1,9 @@
+2006-09-22  Masatake YAMATO  <jet@gyve.org>
+
+	* add-log.el (add-log-current-defun): Use `forward-sexp'
+	instead of `forward-word' to pick c++::symbol.
+	Reported by Herbert Euler <herberteuler@hotmail.com>.
+
 2006-09-22  Kenichi Handa  <handa@m17n.org>
 
 	* bindings.el: Fix setting self-insert-command for multibyte
--- 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)