diff options
| author | Deepak Goel <deego@gnufans.org> | 2007-12-06 17:56:42 +0000 |
|---|---|---|
| committer | Deepak Goel <deego@gnufans.org> | 2007-12-06 17:56:42 +0000 |
| commit | 8c16bd8c3566df3b0cbbc28692a23a378604f423 (patch) | |
| tree | d88150553f83a3c0a45400ca7595965f85486f66 /lisp/man.el | |
| parent | 864da779a612cc75366bee12ab5f6f2859231f18 (diff) | |
| download | emacs-8c16bd8c3566df3b0cbbc28692a23a378604f423.tar.gz | |
Fix buggy calls to `error'.
Diffstat (limited to 'lisp/man.el')
| -rw-r--r-- | lisp/man.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/man.el b/lisp/man.el index 41f1d37bb18..c3621be1c97 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -1077,7 +1077,7 @@ manpage command." (Man-notify-when-ready Man-buffer)) (if err-mess - (error err-mess)) + (error "%s" err-mess)) )))) @@ -1338,7 +1338,7 @@ Returns t if section is found, nil otherwise." Actually the section moved to is described by `Man-see-also-regexp'." (interactive) (if (not (Man-find-section Man-see-also-regexp)) - (error (concat "No " Man-see-also-regexp + (error "%s" (concat "No " Man-see-also-regexp " section found in the current manpage")))) (defun Man-possibly-hyphenated-word () |
