From b4eeeda56da1b93be41e60c321e62fdac2bb2484 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Wed, 18 Nov 1998 09:25:21 +0000 Subject: [PATCH] (message-mimic-kill-buffer): Support for Emacs 20.x. --- lisp/message.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/message.el b/lisp/message.el index a79778f..b7a5091 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -2180,6 +2180,7 @@ The text will also be indented the normal way." (bufname (read-buffer (format "Kill buffer: (default %s) " (buffer-name))))) (if (or (not bufname) + (string-equal bufname "") (string-equal bufname (buffer-name))) (message-kill-buffer) (message "%s must be invoked only for the current buffer." command)))) -- 1.7.10.4