changeset 96218:15fc1f3d8664

Handle void selection in mouse-appearance-menu Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1281
author Miles Bader <miles@gnu.org>
date Tue, 24 Jun 2008 04:52:51 +0000
parents e5a55b8c9892
children 6b5e14225482
files lisp/ChangeLog lisp/mouse.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Jun 24 04:04:48 2008 +0000
+++ b/lisp/ChangeLog	Tue Jun 24 04:52:51 2008 +0000
@@ -1,3 +1,8 @@
+2008-06-24  Miles Bader  <miles@gnu.org>
+
+	* 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  <dann@ics.uci.edu>
 
 	* add-log.el (add-change-log-entry): Add new arg to force each new
--- a/lisp/mouse.el	Tue Jun 24 04:04:48 2008 +0000
+++ b/lisp/mouse.el	Tue Jun 24 04:52:51 2008 +0000
@@ -2524,7 +2524,7 @@
 	      ((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