From: Richard M. Stallman Date: Sat, 11 Nov 1995 07:06:05 +0000 (+0000) Subject: (delete-frame): Don't use delete-frame as event name. X-Git-Tag: emacs-19.34~2354 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a4e4b9160175e7d030bc6918ab083de38a7650fb;p=emacs.git (delete-frame): Don't use delete-frame as event name. --- diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 1c122889ba1..de310b93450 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -100,7 +100,9 @@ (if (fboundp 'delete-frame) (progn - (define-key menu-bar-files-menu [delete-frame] + ;; Don't use delete-frame as event name + ;; because that is a special event. + (define-key menu-bar-files-menu [delete-this-frame] '("Delete Frame" . delete-frame)) (define-key menu-bar-files-menu [make-frame-on-display] '("Open New Display..." . make-frame-on-display))