From 520713e78624a0a29e52b8f354287e084123eee0 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 24 Jun 2008 04:52:51 +0000 Subject: [PATCH] Handle void selection in mouse-appearance-menu Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1281 --- lisp/ChangeLog | 5 +++++ lisp/mouse.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4d40fb44666..439b08e0170 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-06-24 Miles Bader + + * mouse.el (mouse-appearance-menu): Don't do anything if the user + pops up the menu but doesn't select anything. + 2008-06-24 Dan Nicolaescu * add-log.el (add-change-log-entry): Add new arg to force each new diff --git a/lisp/mouse.el b/lisp/mouse.el index 21f80cbe613..ce1bc30b1d4 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -2524,7 +2524,7 @@ choose a font." ((eq choice 'face-remap-reset-base) (text-scale-mode 0) (buffer-face-mode 0)) - (t + (choice ;; Either choice == 'x-select-font, or choice is a ;; symbol whose name is a font. (buffer-face-mode-invoke (font-face-attributes -- 2.39.5