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

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

bug#18834: references to (long time removed) eww-quit


From: Ivan Shmakov
Subject: bug#18834: references to (long time removed) eww-quit
Date: Sat, 25 Oct 2014 16:47:43 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Package:  emacs
Severity: minor
Tags:     patch

        Git records show eww-quit and eww-exit being defined and
        redefined the last December.  Ultimately, however, both of these
        commands were removed from the code, – yet the references to
        them remain there to this day.

        Please thus consider the (untested) patch MIMEd, which is
        intended to complete the following change:

commit 4c004eaa87a1c9771a3ad07b382efbb81e380f96
Author:     Lars Magne Ingebrigtsen <larsi@gnus.org>
AuthorDate: Sun Dec 1 18:00:04 2013 +0100

    eww: Have `q' do a normal `quit-window' instead of killing the buffer.

        TIA.

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A
--- eww.el
+++ eww.el
@@ -443,7 +443,7 @@
 
     (easy-menu-define nil map ""
       '("Eww"
-       ["Exit" eww-quit t]
+       ["Exit" quit-window t]
        ["Close browser" quit-window t]
        ["Reload" eww-reload t]
        ["Back to previous page" eww-back-url
@@ -463,7 +463,7 @@
 (defvar eww-tool-bar-map
   (let ((map (make-sparse-keymap)))
     (dolist (tool-bar-item
-             '((eww-quit . "close")
+             '((quit-window . "close")
                (eww-reload . "refresh")
                (eww-back-url . "left-arrow")
                (eww-forward-url . "right-arrow")

reply via email to

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