]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't load .custom if -q was used.
authorRichard M. Stallman <rms@gnu.org>
Wed, 11 Dec 1996 20:25:24 +0000 (20:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 11 Dec 1996 20:25:24 +0000 (20:25 +0000)
lisp/custom.el

index 910ef02b1872a7e17c4bb9a69be3d0663ad1522a..e747264583c105aeb8cc165f381e230fc691e897 100644 (file)
@@ -2463,8 +2463,9 @@ Face used for customization fields while they are being edited.")
                     (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)