summaryrefslogtreecommitdiff
path: root/lisp/add-log.el
diff options
context:
space:
mode:
authorMasatake YAMATO <jet@gyve.org>2006-09-22 14:27:13 +0000
committerMasatake YAMATO <jet@gyve.org>2006-09-22 14:27:13 +0000
commit1d8f4cb627aecfcb07a4ff8fcb4c8b83e3aeaf4b (patch)
tree2c3e3e4ed75972364b6d068af4cdcbf0ffc29df9 /lisp/add-log.el
parent2e77924dcfd3fbfe4c56a36d49d83a0e8c7b3d98 (diff)
downloademacs-1d8f4cb627aecfcb07a4ff8fcb4c8b83e3aeaf4b.tar.gz
(add-log-current-defun): Use `forward-sexp'
instead of `forward-word' to pick c++::symbol. Reported by Herbert Euler <herberteuler@hotmail.com>.
Diffstat (limited to 'lisp/add-log.el')
-rw-r--r--lisp/add-log.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el
index 393a696d3f1..d60f920244a 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -914,7 +914,7 @@ Has a preference of looking backwards."
;; 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)