mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 18:37:33 +00:00
(wdired-change-to-wdired-mode): Quote wdired-mode-hook in run-hooks.
Use substitute-command-keys in message. (wdired-abort-changes): Add message.
This commit is contained in:
parent
9a9069c994
commit
2a93ca78ea
2 changed files with 10 additions and 3 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2004-05-05 Lars Hansen <larsh@math.ku.dk>
|
||||
|
||||
* wdired.el (wdired-change-to-wdired-mode): Quote wdired-mode-hook
|
||||
in run-hooks. Use substitute-command-keys in message.
|
||||
(wdired-abort-changes): Add message.
|
||||
|
||||
2004-05-03 Michael Mauger <mmaug@yahoo.com>
|
||||
|
||||
* emacs/lisp/progmodes/sql.el (sql-xemacs-p, sql-emacs19-p)
|
||||
|
|
|
|||
|
|
@ -329,8 +329,8 @@ See `wdired-mode'."
|
|||
(buffer-enable-undo) ; Performance hack. See above.
|
||||
(set-buffer-modified-p nil)
|
||||
(setq buffer-undo-list nil)
|
||||
(run-hooks wdired-mode-hook)
|
||||
(message "Press C-c C-c when finished"))
|
||||
(run-hooks 'wdired-mode-hook)
|
||||
(message (substitute-command-keys "Press \\[wdired-finish-edit] when finished")))
|
||||
|
||||
|
||||
;; Protect the buffer so only the filenames can be changed, and put
|
||||
|
|
@ -416,7 +416,8 @@ non-nil means return old filename."
|
|||
(insert wdired-old-content))
|
||||
(wdired-change-to-dired-mode)
|
||||
(set-buffer-modified-p nil)
|
||||
(setq buffer-undo-list nil))
|
||||
(setq buffer-undo-list nil)
|
||||
(message "Changes aborted"))
|
||||
|
||||
(defun wdired-finish-edit ()
|
||||
"Actually rename files based on your editing in the Dired buffer."
|
||||
|
|
|
|||
Loading…
Reference in a new issue