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
ba2c4279
Commit
ba2c4279
authored
Jul 11, 2005
by
Juanma Barranquero
Browse files
(custom-enable-theme): Don't add theme to `custom-enabled-themes' with `push'
because there is no setf-method for `delq'.
parent
8989771d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+6
-0
lisp/custom.el
lisp/custom.el
+2
-1
No files found.
lisp/ChangeLog
View file @
ba2c4279
2005-07-11 Juanma Barranquero <lekktu@gmail.com>
* custom.el (custom-enable-theme): Don't add theme to
`custom-enabled-themes' with `push' because there is no
setf-method for `delq'.
2005-07-11 Richard M. Stallman <rms@gnu.org>
* custom.el (custom-declare-variable): Doc fix.
...
...
lisp/custom.el
View file @
ba2c4279
...
...
@@ -1102,7 +1102,8 @@ If it is already enabled, just give it highest precedence (after `user')."
(
if
(
eq
prop
'theme-value
)
(
custom-theme-recalc-variable
symbol
)
(
custom-theme-recalc-face
symbol
)))))
(
push
theme
(
delq
theme
custom-enabled-themes
))
(
setq
custom-enabled-themes
(
cons
theme
(
delq
theme
custom-enabled-themes
)))
;; `user' must always be the highest-precedence enabled theme.
(
unless
(
eq
theme
'user
)
(
custom-enable-theme
'user
)))
...
...
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