diff options
author | Miles Bader <miles@gnu.org> | 2005-08-26 09:51:52 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2005-08-26 09:51:52 +0000 |
commit | d4cccb140682cfa548a8658f905764ceb4a38cb2 (patch) | |
tree | 5230af18ee25b37efed50fa38cac1eefb47d03fc /lisp/custom.el | |
parent | 5e10f34207ff594cd6570928bc0292a7b53297b8 (diff) | |
parent | f3f01d5df3156fb408b43da0c670796c37ed084f (diff) | |
download | emacs-d4cccb140682cfa548a8658f905764ceb4a38cb2.tar.gz |
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-78
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 514-518)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 104-105)
- Update from CVS
Diffstat (limited to 'lisp/custom.el')
-rw-r--r-- | lisp/custom.el | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/lisp/custom.el b/lisp/custom.el index cfb4373fdab..0831535f181 100644 --- a/lisp/custom.el +++ b/lisp/custom.el @@ -1,7 +1,7 @@ ;;; custom.el --- tools for declaring and initializing options ;; -;; Copyright (C) 1996, 1997, 1999, 2001, 2002, 2004, 2005 -;; Free Software Foundation, Inc. +;; Copyright (C) 1996, 1997, 1999, 2001, 2002, 2003, 2004, +;; 2005 Free Software Foundation, Inc. ;; ;; Author: Per Abrahamsen <abraham@dina.kvl.dk> ;; Maintainer: FSF @@ -726,15 +726,13 @@ in SYMBOL's list property `theme-value' \(using `custom-push-theme')." (error "Circular custom dependency between `%s' and `%s'" sym1 sym2)) (2-then-1 nil) - ;; Put symbols with :require last. The macro - ;; define-minor-mode generates a defcustom - ;; with a :require and a :set, where the - ;; setter function calls the mode function. - ;; Putting symbols with :require last ensures - ;; that the mode function will see other - ;; customized values rather than default - ;; values. - (t (nth 3 a2))))))) + ;; Put minor modes and symbols with :require last. + ;; Putting minor modes last ensures that the mode + ;; function will see other customized values rather + ;; than default values. + (t (or (nth 3 a2) + (eq (get sym2 'custom-set) + 'custom-set-minor-mode)))))))) (while args (let ((entry (car args))) (if (listp entry) |