]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove some more "rogue" defcustoms that show up in emacs -Q
authorGlenn Morris <rgm@gnu.org>
Tue, 10 Apr 2012 07:19:38 +0000 (00:19 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 10 Apr 2012 07:19:38 +0000 (00:19 -0700)
* lisp/cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
Add :standard values, reducing "rogue" customs in emacs -Q a bit more.

lisp/ChangeLog
lisp/cus-start.el

index fd4457e973c27c321a6b8309b8f18e54ee7215e5..fb7e3c1233f9c69f98fdd33f9c4bdb7bab0048fd 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-10  Glenn Morris  <rgm@gnu.org>
+
+       * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
+       Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
+
 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
 
        * recentf.el (recentf-dialog-mode-map): Added two keybindings for
index fbba49951d13ae4dc390d195b5e5e4313fe06b1e..83973e4a53407decabe5049566e55ba18560be5c 100644 (file)
@@ -138,9 +138,18 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of
             ;; coding.c
             (inhibit-eol-conversion mule boolean)
             (eol-mnemonic-undecided mule string)
-            (eol-mnemonic-unix mule string)
-            (eol-mnemonic-dos mule string)
-            (eol-mnemonic-mac mule string)
+            ;; startup.el fiddles with the values.  IMO, would be
+            ;; simpler to just use #ifdefs in coding.c.
+            (eol-mnemonic-unix mule string nil
+                               :standard
+                               (if (memq system-type '(ms-dos windows-nt))
+                                   "(Unix)" ":"))
+            (eol-mnemonic-dos mule string nil
+                              :standard
+                              (if (memq system-type '(ms-dos windows-nt))
+                                  "\\" "(DOS)"))
+            (eol-mnemonic-mac mule string nil
+                              :standard "(Mac)")
             (file-coding-system-alist
              mule
              (alist