changeset 16667:19eb80712305

Don't load .custom if -q was used.
author Richard M. Stallman <rms@gnu.org>
date Wed, 11 Dec 1996 20:25:24 +0000
parents b1e4c26fc85c
children bf249c4b4beb
files lisp/=custom.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/=custom.el	Wed Dec 11 01:29:00 1996 +0000
+++ b/lisp/=custom.el	Wed Dec 11 20:25:24 1996 +0000
@@ -2463,8 +2463,9 @@
 		     (not (string-match "XEmacs" emacs-version)))
 (custom-category-put 'custom-hidden-properties intangible t)
 
-(if (file-readable-p custom-file)
-    (load-file custom-file))
+(and init-file-user  ; Don't load any init file if -q was used.
+     (file-readable-p custom-file)
+     (load-file custom-file))
 
 (provide 'custom)