summaryrefslogtreecommitdiff
path: root/lisp/wdired.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-09-22 20:26:40 +0200
committerStefan Kangas <stefan@marxist.se>2021-09-22 20:26:40 +0200
commitaebba085cba13ad1439462923ffa0520456f1aad (patch)
tree46a8edec2ec2d81da8c4031a79fc5ee08c016933 /lisp/wdired.el
parent7f06fe894cabf8f33e10386d6adb5d2ce9481a25 (diff)
downloademacs-aebba085cba13ad1439462923ffa0520456f1aad.tar.gz
; More minor stylistic fixes found by checkdoc
Diffstat (limited to 'lisp/wdired.el')
-rw-r--r--lisp/wdired.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/wdired.el b/lisp/wdired.el
index eafb50cc18a..eb5a6385563 100644
--- a/lisp/wdired.el
+++ b/lisp/wdired.el
@@ -453,7 +453,7 @@ non-nil means return old filename."
(remove-function (local 'revert-buffer-function) #'wdired-revert))
(defun wdired-abort-changes ()
- "Abort changes and return to dired mode."
+ "Abort changes and return to `dired-mode'."
(interactive)
(remove-hook 'before-change-functions #'wdired--before-change-fn t)
(let ((inhibit-read-only t))
@@ -689,7 +689,7 @@ Optional arguments are ignored."
;; FIXME: Can't we use the normal mechanism for that? --Stef
(if (and
(buffer-modified-p)
- (not (y-or-n-p "Buffer changed. Discard changes and kill buffer?")))
+ (not (y-or-n-p "Buffer changed. Discard changes and kill buffer?")))
(error "Error")))
;; Added to after-change-functions in wdired-change-to-wdired-mode to