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
0d94f5ca
Commit
0d94f5ca
authored
Aug 11, 1993
by
Richard M. Stallman
Browse files
(font-menu-add-default): Use list, not cons, for new elt.
Don't get confused if no Misc entry.
parent
3d64d15b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/mouse.el
lisp/mouse.el
+1
-1
No files found.
lisp/mouse.el
View file @
0d94f5ca
...
...
@@ -888,7 +888,7 @@ and selects that window."
(
defun
font-menu-add-default
()
(
let*
((
default
(
cdr
(
assq
'font
(
frame-parameters
(
selected-frame
)))))
(
font-alist
x-fixed-font-alist
)
(
elt
(
assoc
"Misc"
font-alist
)))
(
elt
(
or
(
assoc
"Misc"
font-alist
)
(
nth
1
font-alist
))
))
(
if
(
assoc
"Default"
elt
)
(
delete
(
assoc
"Default"
elt
)
elt
))
(
setcdr
elt
...
...
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