Mercurial > emacs
diff lisp/dos-fns.el @ 104712:c4fb8f245750
* paths.el (abbrev-file-name): Move to abbrev.el.
* abbrev.el (abbrev-file-name): Move from paths.el.
Obey user-emacs-directory.
* calc/calc.el (calc-settings-file): Don't autoload and instead obey
user-emacs-directory.
* dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
abbrev-file-name and calc-settings-file any more.
* startup.el (command-line): Recompute abbrev-file-name and
abbreviated-home-dir.
(normal-no-mouse-startup-screen): Improve the generic code and get rid
of the special code for when C-h bindings haven't been changed.
(display-startup-echo-area-message): Use with-current-buffer.
(command-line-1): Use a list of strings, rather than a list of lists
of strings for longopts.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 29 Aug 2009 19:22:38 +0000 |
parents | a9dc0e7c3f2b |
children | 68150c643e2e |
line wrap: on
line diff
--- a/lisp/dos-fns.el Sat Aug 29 18:56:12 2009 +0000 +++ b/lisp/dos-fns.el Sat Aug 29 19:22:38 2009 +0000 @@ -224,16 +224,7 @@ ;; see if the list of defcustom's below is up to date, run the command ;; "M-x apropos-value RET ~/\. RET". (defun dos-reevaluate-defcustoms () - ;; This was computed in paths.el, but that was at dump time. - (setq abbrev-file-name - (if (msdos-long-file-names) - "~/.abbrev_defs" - "~/_abbrev.defs")) - ;; This was computed in loaddefs.el, but that was at dump time. - (setq calc-settings-file - (if (msdos-long-file-names) - "~/.calc.el" - "~/_calc.el")) + ;; This was computed at dump time. (custom-reevaluate-setting 'trash-directory)) (add-hook 'before-init-hook 'dos-reevaluate-defcustoms)