diff options
| author | Karl Heuer | 1997-02-20 05:47:42 +0000 |
|---|---|---|
| committer | Karl Heuer | 1997-02-20 05:47:42 +0000 |
| commit | 51a02226c265cacf79c59ae6d653b93f1c7d6d22 (patch) | |
| tree | 943c27dc90fd8ce6ca6ccf1252a1c662133f04fc | |
| parent | 5e14f0f5f18c50599dc03e807884fc1eda72a9ab (diff) | |
| download | emacs-51a02226c265cacf79c59ae6d653b93f1c7d6d22.tar.gz emacs-51a02226c265cacf79c59ae6d653b93f1c7d6d22.zip | |
(mouse-set-font): Handle fontset.
| -rw-r--r-- | lisp/mouse.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el index 2bc8b191fa2..48623cebad8 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el | |||
| @@ -1881,9 +1881,12 @@ and selects that window." | |||
| 1881 | "X fonts suitable for use in Emacs.") | 1881 | "X fonts suitable for use in Emacs.") |
| 1882 | 1882 | ||
| 1883 | (defun mouse-set-font (&rest fonts) | 1883 | (defun mouse-set-font (&rest fonts) |
| 1884 | "Select an emacs font from a list of known good fonts" | 1884 | "Select an emacs font from a list of known good fonts and fontsets." |
| 1885 | (interactive | 1885 | (interactive |
| 1886 | (x-popup-menu last-nonmenu-event x-fixed-font-alist)) | 1886 | (x-popup-menu |
| 1887 | last-nonmenu-event | ||
| 1888 | ;; Append list of fontsets currently defined. | ||
| 1889 | (append x-fixed-font-alist (list (generate-fontset-menu))))) | ||
| 1887 | (if fonts | 1890 | (if fonts |
| 1888 | (let (font) | 1891 | (let (font) |
| 1889 | (while fonts | 1892 | (while fonts |