]> code.delx.au - gnu-emacs/commitdiff
* lisp/wdired.el (wdired-next-line, wdired-previous-line): Add "^"
authorJuri Linkov <juri@linkov.net>
Sun, 5 Jun 2016 21:16:17 +0000 (00:16 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 5 Jun 2016 21:16:17 +0000 (00:16 +0300)
to interactive spec to handle shift-selection.  (Bug#23642)

lisp/wdired.el

index 2e68bec6fd74153be7f975a908ff00e6454ded07..5b23f843e0b18a90c5df2c3bbc13fb8f55417aa4 100644 (file)
@@ -1,4 +1,4 @@
-;;; wdired.el --- Rename files editing their names in dired buffers
+;;; wdired.el --- Rename files editing their names in dired buffers -*- coding: utf-8; -*-
 
 ;; Copyright (C) 2004-2016 Free Software Foundation, Inc.
 
@@ -590,7 +590,7 @@ Optional arguments are ignored."
   "Move down lines then position at filename or the current column.
 See `wdired-use-dired-vertical-movement'.  Optional prefix ARG
 says how many lines to move; default is one line."
-  (interactive "p")
+  (interactive "^p")
   (with-no-warnings (next-line arg))
   (if (or (eq wdired-use-dired-vertical-movement t)
          (and wdired-use-dired-vertical-movement
@@ -603,7 +603,7 @@ says how many lines to move; default is one line."
   "Move up lines then position at filename or the current column.
 See `wdired-use-dired-vertical-movement'.  Optional prefix ARG
 says how many lines to move; default is one line."
-  (interactive "p")
+  (interactive "^p")
   (with-no-warnings (previous-line arg))
   (if (or (eq wdired-use-dired-vertical-movement t)
          (and wdired-use-dired-vertical-movement