# HG changeset patch # User Richard M. Stallman # Date 850635024 0 # Node ID 58b38425b4633345916e51891c6cae651adea78c # Parent 82898b6716331f70a5f17a9bab32d17b627abd9c (cpp-edit-load): Don't load anything if init-file-user is nil. (cpp-edit-save): Doc fix. diff -r 82898b671633 -r 58b38425b463 lisp/progmodes/cpp.el --- 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