[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/add-log.el
From: |
Masatake YAMATO |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/add-log.el |
Date: |
Thu, 10 Nov 2005 07:36:55 -0500 |
Index: emacs/lisp/add-log.el
diff -c emacs/lisp/add-log.el:1.170 emacs/lisp/add-log.el:1.171
*** emacs/lisp/add-log.el:1.170 Sun Oct 23 17:58:45 2005
--- emacs/lisp/add-log.el Thu Nov 10 12:36:52 2005
***************
*** 860,866 ****
(skip-syntax-backward " ")
(point))))
(if (looking-at "^[+-]")
! ;; C++.
(change-log-get-method-definition)
;; Ordinary C function syntax.
(setq beg (point))
--- 860,866 ----
(skip-syntax-backward " ")
(point))))
(if (looking-at "^[+-]")
! ;; Objective-C
(change-log-get-method-definition)
;; Ordinary C function syntax.
(setq beg (point))
***************
*** 901,906 ****
--- 901,913 ----
;; precede the name.
(setq middle (point))
(forward-word -1)
+ ;; Is this C++ method?
+ (when (and (< 2 middle)
+ (string= (buffer-substring (- middle
2)
+ middle)
+ "::"))
+ ;; Include "classname::".
+ (setq middle (point)))
;; Ignore these subparts of a class decl
;; and move back to the class name itself.
(while (looking-at "public \\|private ")
- [Emacs-diffs] Changes to emacs/lisp/add-log.el,
Masatake YAMATO <=