+2005-11-10 Masatake YAMATO <jet@gyve.org>
+
+ * add-log.el: (add-log-current-defun): Handle
+ class::method notation of c++.
+ Fix incorrect comment.
+
2005-11-10 Alan Mackenzie <acm@muc.de>
* help-fns.el (describe-variable): Make C-h v work when a variable
(skip-syntax-backward " ")
(point))))
(if (looking-at "^[+-]")
- ;; C++.
+ ;; Objective-C
(change-log-get-method-definition)
;; Ordinary C function syntax.
(setq beg (point))
;; 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 ")