1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 15:11:30 -08:00

(custom-set-variables): Set options with :require

clauses last.
This commit is contained in:
Gerd Moellmann 2001-08-02 10:11:57 +00:00
parent fbc7f2a625
commit cb3f945fa8
2 changed files with 13 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2001-08-02 Gerd Moellmann <gerd@gnu.org>
* custom.el (custom-set-variables): Set options with :require
clauses last.
* custom.el (defcustom): Doc fix.
* Makefile.in (TAGS, TAGS-LISP): Exclude loaddefs.el.

View file

@ -442,7 +442,16 @@ COMMENT is a comment string about SYMBOL."
(error "Circular custom dependency between `%s' and `%s'"
sym1 sym2))
(1-then-2 t)
(t nil))))))
(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 (get sym2 'custom-requests)))))))
(while args
(let ((entry (car args)))
(if (listp entry)