summaryrefslogtreecommitdiff
path: root/lisp/textmodes/reftex.el
diff options
context:
space:
mode:
authorDeepak Goel <deego@gnufans.org>2007-12-06 18:43:43 +0000
committerDeepak Goel <deego@gnufans.org>2007-12-06 18:43:43 +0000
commit40b0e87a71aa2c0b396f2173b7ddd2708947ce39 (patch)
tree828f286e2975b3fef5f98e089f89a4dcac8cdb39 /lisp/textmodes/reftex.el
parent768b14f8a010ac4a86ae9d9d6a80f06d429f4372 (diff)
downloademacs-40b0e87a71aa2c0b396f2173b7ddd2708947ce39.tar.gz
Fix buggy `error' calls in textmode/
Diffstat (limited to 'lisp/textmodes/reftex.el')
-rw-r--r--lisp/textmodes/reftex.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el
index 5383d88c386..47482916efb 100644
--- a/lisp/textmodes/reftex.el
+++ b/lisp/textmodes/reftex.el
@@ -705,7 +705,7 @@ on the menu bar.
((fboundp 'TeX-master-file) ; AUCTeX is loaded. Use its mechanism.
(condition-case nil
(TeX-master-file t)
- (error (buffer-file-name))))
+ (error "%s" (buffer-file-name))))
((fboundp 'tex-main-file) (tex-main-file)) ; Emacs LaTeX mode
((boundp 'TeX-master) ; The variable is defined - lets use it.
(cond