Mercurial > emacs
diff lisp/progmodes/cpp.el @ 16681:58b38425b463
(cpp-edit-load): Don't load anything if init-file-user is nil.
(cpp-edit-save): Doc fix.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sun, 15 Dec 1996 07:30:24 +0000 |
| parents | 2b2e0cef30d5 |
| children | 4d91d1db7ac0 |
line wrap: on
line diff
--- a/lisp/progmodes/cpp.el Sun Dec 15 04:58:53 1996 +0000 +++ b/lisp/progmodes/cpp.el Sun Dec 15 07:30:24 1996 +0000 @@ -510,7 +510,10 @@ (defun cpp-edit-load () "Load cpp configuration." (interactive) - (cond ((file-readable-p cpp-config-file) + (cond ((null init-file-user) + ;; If -q was specified, don't load any init files. + nil) + ((file-readable-p cpp-config-file) (load-file cpp-config-file)) ((file-readable-p (concat "~/" cpp-config-file)) (load-file cpp-config-file))) @@ -518,7 +521,7 @@ (cpp-edit-reset))) (defun cpp-edit-save () - "Load cpp configuration." + "Save the current cpp configuration in a file." (interactive) (require 'pp) (save-excursion
