bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27114: 25.2: fringe click echoes "Emacs-Lisp:" in emacs-lisp mode


From: Alex
Subject: bug#27114: 25.2: fringe click echoes "Emacs-Lisp:" in emacs-lisp mode
Date: Wed, 09 Aug 2017 17:07:57 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: npostavs@users.sourceforge.net
>> Date: Tue, 30 May 2017 19:16:29 -0400
>> Cc: 27114@debbugs.gnu.org
>> 
>> > While you click and hold the mouse in the fringe in an emacs-lisp mode
>> > buffer in Emacs 25.2, the echo area indicates "Emacs-Lisp:".
>> > (This does not happen in Emacs 24.5).
>> 
>> It happens for me in 24.5 and 24.3 as well.
>
> Seems like it started happening in Emacs 23.1.

The following diff appears to fix this bug, but I'm not sure if it
should be applied. Hopefully it helps either way.

diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index b3f452ca5b..1d90fa94f3 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -45,7 +45,7 @@ emacs-lisp-mode-syntax-table
   "Syntax table used in `emacs-lisp-mode'.")
 
 (defvar emacs-lisp-mode-map
-  (let ((map (make-sparse-keymap "Emacs-Lisp"))
+  (let ((map (make-sparse-keymap))
        (menu-map (make-sparse-keymap "Emacs-Lisp"))
        (lint-map (make-sparse-keymap))
        (prof-map (make-sparse-keymap))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]