Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cb3f945f
Commit
cb3f945f
authored
Aug 02, 2001
by
Gerd Moellmann
Browse files
(custom-set-variables): Set options with :require
clauses last.
parent
fbc7f2a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/custom.el
lisp/custom.el
+10
-1
No files found.
lisp/ChangeLog
View file @
cb3f945f
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.
...
...
lisp/custom.el
View file @
cb3f945f
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment