|
From: | Lars Hansen |
Subject: | Re: desktop.el and minor modes |
Date: | Tue, 08 Jun 2004 18:10:30 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021213 Debian/1.2.1-2.bunk |
Yes it does, but you have to load dired-x first somehow. You may considered it a bug in the old version of dired-x that dired-omit-files-p wasn't declared with :require 'dired-x or had an autoload cookie. Anyway, you had to load dired-x before the custom-set-variables call, just as with the new version of dired-x. So in this respect, nothing is changed.It doesn't work when dired-omit-files-p is saved in .emacs by customize.
For example, try in a new Emacs session: (progn (custom-set-variables '(dired-omit-files-p t)) (require 'dired-x) dired-omit-files-p) Returns: nil
Try (progn (require 'dired-x) (custom-set-variables '(dired-omit-files-p t)) dired-omit-files-p) or (progn (custom-set-variables '(dired-omit-files-p t nil (dired-x))) dired-omit-files-p) Both return t as expected.
[Prev in Thread] | Current Thread | [Next in Thread] |