# HG changeset patch # User Eli Zaretskii # Date 1252748736 0 # Node ID f26e1b8ad86e5f36a213b1e20daf94c352f567f2 # Parent f66e7a565db0c6a5e41c1f6c8d13ebbb593eef78 (dos-reevaluate-defcustoms): Comment out the reevaluation of trash-directory. diff -r f66e7a565db0 -r f26e1b8ad86e lisp/dos-fns.el --- a/lisp/dos-fns.el Sat Sep 12 09:40:15 2009 +0000 +++ b/lisp/dos-fns.el Sat Sep 12 09:45:36 2009 +0000 @@ -224,8 +224,11 @@ ;; 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 at dump time. - (custom-reevaluate-setting 'trash-directory)) + ;; This is not needed in Emacs 23.2 and later, as trash-directory is + ;; initialized as nil. But something like this might become + ;; necessary in the future, so I'm keeping it here as a reminder. + ;(custom-reevaluate-setting 'trash-directory) + ) (add-hook 'before-init-hook 'dos-reevaluate-defcustoms)