changeset 5301:7caf06258d7b

(add-log-current-defun): Remove spurious quote on c++-mode. Recognize c++-c-mode.
author Richard M. Stallman <rms@gnu.org>
date Thu, 23 Dec 1993 04:42:26 +0000
parents 954744cd720f
children d907b978082e
files lisp/add-log.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/add-log.el	Thu Dec 23 04:41:41 1993 +0000
+++ b/lisp/add-log.el	Thu Dec 23 04:42:26 1993 +0000
@@ -316,7 +316,7 @@
 		       (skip-chars-forward " ")
 		       (buffer-substring (point)
 					 (progn (forward-sexp 1) (point))))))
-		((and (memq major-mode '(c-mode 'c++-mode))
+		((and (memq major-mode '(c-mode c++-mode c++-c-mode))
 		      (save-excursion (beginning-of-line)
 				      ;; Use eq instead of = here to avoid
 				      ;; error when at bob and char-after
@@ -332,7 +332,7 @@
 		 (skip-chars-forward " \t")
 		 (buffer-substring (point)
 				   (progn (forward-sexp 1) (point))))
-		((memq major-mode '(c-mode 'c++-mode))
+		((memq major-mode '(c-mode c++-mode c++-c-mode))
 		 (beginning-of-line)
 		 ;; See if we are in the beginning part of a function,
 		 ;; before the open brace.  If so, advance forward.