emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/windresize fc4be3e 05/10: * admin/update-archive.sh: Ke


From: Stefan Monnier
Subject: [elpa] externals/windresize fc4be3e 05/10: * admin/update-archive.sh: Keep old packages.
Date: Sat, 28 Nov 2020 14:53:08 -0500 (EST)

branch: externals/windresize
commit fc4be3e72f1a3c1a41484100e3919576abe44ccb
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * admin/update-archive.sh: Keep old packages.
---
 windresize.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/windresize.el b/windresize.el
index c729cb9..e13dd3f 100755
--- a/windresize.el
+++ b/windresize.el
@@ -30,7 +30,7 @@
 ;; This mode lets you edit the window configuration interactively just
 ;; by using the keyboard.
 ;;
-;; To use it, type M-x windresize; this enters put Emacs in a state
+;; To use it, type M-x windresize; this puts Emacs in a state
 ;; where the up/down and left/right arrow keys resize the window
 ;; dimensions.  To return Emacs to its ordinary state, type RET.
 ;;
@@ -868,7 +868,7 @@ horizontally and vertically."
 (defun windresize-cancel-and-quit ()
   "Cancel window resizing and quit `windresize'."
   (interactive)
-  (if (eq major-mode 'help-mode)
+  (if (derived-mode-p 'help-mode)
       (progn (View-quit)
             (setq windresize-msg '("Help quit" . 2)))
     (switch-to-buffer windresize-buffer)



reply via email to

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