From a4e4b9160175e7d030bc6918ab083de38a7650fb Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 11 Nov 1995 07:06:05 +0000 Subject: [PATCH] (delete-frame): Don't use delete-frame as event name. --- lisp/menu-bar.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) -- 2.39.2