]> git.eshelyaron.com Git - emacs.git/commit
Improve selection of fonts available from `mouse-set-font'
authorPo Lu <luangruo@yahoo.com>
Wed, 9 Feb 2022 03:26:47 +0000 (11:26 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 9 Feb 2022 03:27:15 +0000 (11:27 +0800)
commitd41a5e7e33067eb38b147ee2f8a1615f6faed7a4
tree96cde35b1d35bcf68a9126605558fcc7c08b407b
parent59ff15e3502e44d7ae7ea23cd882fc18a766d989
Improve selection of fonts available from `mouse-set-font'

People get confused on a build without font dialogs (such as a
Lucid build) if `menu-set-font' and `mouse-set-font' don't
present them a list of the fonts actually available on their
system.

* lisp/mouse.el (mouse-generate-font-name-for-menu)
(mouse-generate-font-menu): New functions.
(mouse-select-font): Allow the user to select from all fonts
available on the system.
(mouse-set-font): Use `mouse-select-font' to display font menu.
lisp/mouse.el