diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/custom.el | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 88cb2175940..854d1722cef 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2001-08-02 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-08-02 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * custom.el (custom-set-variables): Set options with :require | ||
| 4 | clauses last. | ||
| 5 | |||
| 3 | * custom.el (defcustom): Doc fix. | 6 | * custom.el (defcustom): Doc fix. |
| 4 | 7 | ||
| 5 | * Makefile.in (TAGS, TAGS-LISP): Exclude loaddefs.el. | 8 | * Makefile.in (TAGS, TAGS-LISP): Exclude loaddefs.el. |
diff --git a/lisp/custom.el b/lisp/custom.el index ef083ebb238..8231fd9ab0f 100644 --- a/lisp/custom.el +++ b/lisp/custom.el | |||
| @@ -442,7 +442,16 @@ COMMENT is a comment string about SYMBOL." | |||
| 442 | (error "Circular custom dependency between `%s' and `%s'" | 442 | (error "Circular custom dependency between `%s' and `%s'" |
| 443 | sym1 sym2)) | 443 | sym1 sym2)) |
| 444 | (1-then-2 t) | 444 | (1-then-2 t) |
| 445 | (t nil)))))) | 445 | (2-then-1 nil) |
| 446 | ;; Put symbols with :require last. The macro | ||
| 447 | ;; define-minor-mode generates a defcustom | ||
| 448 | ;; with a :require and a :set, where the | ||
| 449 | ;; setter function calls the mode function. | ||
| 450 | ;; Putting symbols with :require last ensures | ||
| 451 | ;; that the mode function will see other | ||
| 452 | ;; customized values rather than default | ||
| 453 | ;; values. | ||
| 454 | (t (get sym2 'custom-requests))))))) | ||
| 446 | (while args | 455 | (while args |
| 447 | (let ((entry (car args))) | 456 | (let ((entry (car args))) |
| 448 | (if (listp entry) | 457 | (if (listp entry) |