emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r115327: Special mode buffers shouldn't query before


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] trunk r115327: Special mode buffers shouldn't query before exiting.
Date: Sun, 01 Dec 2013 14:22:06 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115327
revision-id: address@hidden
parent: address@hidden
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Sun 2013-12-01 15:22:03 +0100
message:
  Special mode buffers shouldn't query before exiting.
  (eww-quit): Special mode buffers shouldn't query before exiting.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/net/eww.el                eww.el-20130610114603-80ap3gwnw4x4m5ix-1
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-12-01 14:12:44 +0000
+++ b/lisp/ChangeLog    2013-12-01 14:22:03 +0000
@@ -2,6 +2,7 @@
 
        * net/eww.el (eww-follow-link): New command to avoid reloading
        pages when we follow #target links (bug#15243).
+       (eww-quit): Special mode buffers shouldn't query before exiting.
 
 2013-12-01  Kenjiro NAKAYAMA  <address@hidden>
 

=== modified file 'lisp/net/eww.el'
--- a/lisp/net/eww.el   2013-12-01 14:12:44 +0000
+++ b/lisp/net/eww.el   2013-12-01 14:22:03 +0000
@@ -418,10 +418,8 @@
 (defun eww-quit ()
   "Exit the Emacs Web Wowser."
   (interactive)
-  (if (y-or-n-p "quit eww? ")
-      (progn
-       (setq eww-history nil)
-       (kill-buffer (current-buffer)))))
+  (setq eww-history nil)
+  (kill-buffer (current-buffer)))
 
 (defun eww-back-url ()
   "Go to the previously displayed page."


reply via email to

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