summaryrefslogtreecommitdiff
path: root/lisp/wdired.el
diff options
context:
space:
mode:
authorDeepak Goel <deego@gnufans.org>2007-12-06 17:56:42 +0000
committerDeepak Goel <deego@gnufans.org>2007-12-06 17:56:42 +0000
commit8c16bd8c3566df3b0cbbc28692a23a378604f423 (patch)
treed88150553f83a3c0a45400ca7595965f85486f66 /lisp/wdired.el
parent864da779a612cc75366bee12ab5f6f2859231f18 (diff)
downloademacs-8c16bd8c3566df3b0cbbc28692a23a378604f423.tar.gz
Fix buggy calls to `error'.
Diffstat (limited to 'lisp/wdired.el')
-rw-r--r--lisp/wdired.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/wdired.el b/lisp/wdired.el
index 39d27d57848..2ab9306da43 100644
--- a/lisp/wdired.el
+++ b/lisp/wdired.el
@@ -492,7 +492,7 @@ Optional arguments are ignored."
(if (and
(buffer-modified-p)
(not (y-or-n-p "Buffer changed. Discard changes and kill buffer? ")))
- (error nil)))
+ (error "Error.")))
(defun wdired-next-line (arg)
"Move down lines then position at filename or the current column.