diff options
| author | Glenn Morris | 2008-06-13 04:17:08 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-06-13 04:17:08 +0000 |
| commit | 2c09b70c8eb53d709eba293251a68bff6cc6ca1b (patch) | |
| tree | e2c68bf98a802acec6d0965a8a1638853196bf72 | |
| parent | d6dc41d523d896f485436809f0181d2ecf9bd6eb (diff) | |
| download | emacs-2c09b70c8eb53d709eba293251a68bff6cc6ca1b.tar.gz emacs-2c09b70c8eb53d709eba293251a68bff6cc6ca1b.zip | |
(menu-set-font): Use fboundp rather than functionp.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/menu-bar.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4209b0f645f..88ffde53e51 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2008-06-13 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * menu-bar.el (menu-set-font): Use fboundp rather than functionp. | ||
| 4 | |||
| 5 | * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Doc fix. | ||
| 6 | |||
| 1 | 2008-06-13 Kenichi Handa <handa@m17n.org> | 7 | 2008-06-13 Kenichi Handa <handa@m17n.org> |
| 2 | 8 | ||
| 3 | * cus-face.el (custom-face-attributes): Add :foundry. | 9 | * cus-face.el (custom-face-attributes): Add :foundry. |
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index aa7cd194acf..cbb44da9664 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -632,7 +632,7 @@ by \"Save Options\" in Custom buffers.") | |||
| 632 | (defun menu-set-font () | 632 | (defun menu-set-font () |
| 633 | "Interactively select a font and make it the default." | 633 | "Interactively select a font and make it the default." |
| 634 | (interactive) | 634 | (interactive) |
| 635 | (let ((font (if (functionp 'x-select-font) | 635 | (let ((font (if (fboundp 'x-select-font) |
| 636 | (x-select-font) | 636 | (x-select-font) |
| 637 | (mouse-select-font))) | 637 | (mouse-select-font))) |
| 638 | spec) | 638 | spec) |