(mouse-select-font): Return a string instead of a list.
This commit is contained in:
parent
902528809e
commit
c1202d4b35
1 changed files with 7 additions and 6 deletions
|
@ -2431,12 +2431,13 @@ and selects that window."
|
|||
(interactive)
|
||||
(unless (display-multi-font-p)
|
||||
(error "Cannot change fonts on this display"))
|
||||
(x-popup-menu
|
||||
(if (listp last-nonmenu-event)
|
||||
last-nonmenu-event
|
||||
(list '(0 0) (selected-window)))
|
||||
(append x-fixed-font-alist
|
||||
(list (generate-fontset-menu)))))
|
||||
(car
|
||||
(x-popup-menu
|
||||
(if (listp last-nonmenu-event)
|
||||
last-nonmenu-event
|
||||
(list '(0 0) (selected-window)))
|
||||
(append x-fixed-font-alist
|
||||
(list (generate-fontset-menu))))))
|
||||
|
||||
(declare-function text-scale-mode "face-remap")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue