diff options
| author | Eli Zaretskii | 2008-10-19 09:36:51 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-10-19 09:36:51 +0000 |
| commit | 0c5f6acaaf7469c40101df20956a9be061416c8b (patch) | |
| tree | 169a2a45886cd8502b13d52dc28d4f6fcf4edb0b | |
| parent | 95aac6d1142bbd42603f18da090400bf94cf2ead (diff) | |
| download | emacs-0c5f6acaaf7469c40101df20956a9be061416c8b.tar.gz emacs-0c5f6acaaf7469c40101df20956a9be061416c8b.zip | |
(dos-reevaluate-defcustoms): New function. Add it to before-init-hook.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/dos-fns.el | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 706808fb0a3..dbbd2ecab6b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2008-10-19 Eli Zaretskii <eliz@gnu.org> | 1 | 2008-10-19 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * dos-fns.el (dos-reevaluate-defcustoms): New function. Add it to | ||
| 4 | before-init-hook. | ||
| 5 | |||
| 3 | Fix Bug #1183: | 6 | Fix Bug #1183: |
| 4 | 7 | ||
| 5 | * ediff-diff.el (ediff-exec-process): For buffer jobs, bind | 8 | * ediff-diff.el (ediff-exec-process): For buffer jobs, bind |
diff --git a/lisp/dos-fns.el b/lisp/dos-fns.el index cf37cc26d6c..d58beec3897 100644 --- a/lisp/dos-fns.el +++ b/lisp/dos-fns.el | |||
| @@ -189,7 +189,7 @@ shell requires it (see `w32-shell-dos-semantics')." | |||
| 189 | ;; See dos-vars.el for defcustom. | 189 | ;; See dos-vars.el for defcustom. |
| 190 | (defvar msdos-shells) | 190 | (defvar msdos-shells) |
| 191 | 191 | ||
| 192 | ;;; Override setting chosen at startup. | 192 | ;; Override settings chosen at startup. |
| 193 | (defun set-default-process-coding-system () | 193 | (defun set-default-process-coding-system () |
| 194 | (setq default-process-coding-system | 194 | (setq default-process-coding-system |
| 195 | (if default-enable-multibyte-characters | 195 | (if default-enable-multibyte-characters |
| @@ -198,6 +198,18 @@ shell requires it (see `w32-shell-dos-semantics')." | |||
| 198 | 198 | ||
| 199 | (add-hook 'before-init-hook 'set-default-process-coding-system) | 199 | (add-hook 'before-init-hook 'set-default-process-coding-system) |
| 200 | 200 | ||
| 201 | ;; File names defined in preloaded packages can be incorrect or | ||
| 202 | ;; invalid if long file names were available during dumping, but not | ||
| 203 | ;; at runtime, and the default file name begins with a period. Their | ||
| 204 | ;; defcustom's need to be reevaluated at startup. To update the list | ||
| 205 | ;; of defcustom's below, run the command "M-x apropos-value RET ~/\. RET". | ||
| 206 | (defun dos-reevaluate-defcustoms () | ||
| 207 | (custom-reevaluate-setting 'abbrev-file-name) | ||
| 208 | (custom-reevaluate-setting 'calc-settings-file) | ||
| 209 | (custom-reevaluate-setting 'trash-directory)) | ||
| 210 | |||
| 211 | (add-hook 'before-init-hook 'dos-reevaluate-defcustoms) | ||
| 212 | |||
| 201 | (defvar register-name-alist | 213 | (defvar register-name-alist |
| 202 | '((ax . 0) (bx . 1) (cx . 2) (dx . 3) (si . 4) (di . 5) | 214 | '((ax . 0) (bx . 1) (cx . 2) (dx . 3) (si . 4) (di . 5) |
| 203 | (cflag . 6) (flags . 7) | 215 | (cflag . 6) (flags . 7) |