summaryrefslogtreecommitdiff
path: root/lisp/dired.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/dired.el
parent864da779a612cc75366bee12ab5f6f2859231f18 (diff)
downloademacs-8c16bd8c3566df3b0cbbc28692a23a378604f423.tar.gz
Fix buggy calls to `error'.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index ab56579e718..51067e46001 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -2009,7 +2009,7 @@ Return the position of the beginning of the filename, or nil if none found."
(forward-char -1))))
(or no-error
(not (eq opoint (point)))
- (error (if hidden
+ (error "%s" (if hidden
(substitute-command-keys
"File line is hidden, type \\[dired-hide-subdir] to unhide")
"No file on this line")))