Mercurial > emacs
changeset 8740:714588372e06
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 14 Sep 1994 18:29:11 +0000 |
parents | f89682e90658 |
children | 9728aab0cab3 |
files | lisp/progmodes/cpp.el |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/cpp.el Wed Sep 14 09:17:32 1994 +0000 +++ b/lisp/progmodes/cpp.el Wed Sep 14 18:29:11 1994 +0000 @@ -30,8 +30,10 @@ ;; ;; '(progn ;; (define-key c-mode-map "\C-c\C-x" 'cpp-parse-buffer) -;; (define-key-after (bar (lookup-key c-mode-map [ menu-bar c ])) -;; [ cpp-parse ] '("Parse Conditionals" . cpp-parse-buffer) 'up))) +;; (define-key-after (lookup-key c-mode-map [ menu-bar c ]) +;; [ cpp-parse ] '("Parse Conditionals" . cpp-parse-buffer) 'up)) + +;; This package is inspired by Jim Coplien's delta editor for SCCS. ;;; Todo: @@ -438,7 +440,8 @@ (load-file ".cpp.el")) ((file-readable-p "~/.cpp.el") (load-file ".cpp.el"))) - (cpp-edit-reset)) + (if (eq major-mode 'cpp-edit-mode) + (cpp-edit-reset))) (defun cpp-edit-save () "Load cpp configuration."