diff options
| author | Richard M. Stallman | 1996-01-04 19:00:38 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-01-04 19:00:38 +0000 |
| commit | aa308ce238add47d57734c5747329c60d2933b8f (patch) | |
| tree | 4019312a039d146c46be7de9576862d12b497b80 | |
| parent | 9542081161e77ff0bd84f473fd41461643226fd3 (diff) | |
| download | emacs-aa308ce238add47d57734c5747329c60d2933b8f.tar.gz emacs-aa308ce238add47d57734c5747329c60d2933b8f.zip | |
(error): Doc fix.
| -rw-r--r-- | lisp/subr.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index f73a29ad11b..f96351e6e4d 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -704,7 +704,10 @@ This function accepts any number of arguments, but ignores them." | |||
| 704 | nil) | 704 | nil) |
| 705 | 705 | ||
| 706 | (defun error (&rest args) | 706 | (defun error (&rest args) |
| 707 | "Signal an error, making error message by passing all args to `format'." | 707 | "Signal an error, making error message by passing all args to `format'. |
| 708 | In Emacs, the convention is that error messages start with a capital | ||
| 709 | letter but *do not* end with a period. Please follow this convention | ||
| 710 | for the sake of consistency." | ||
| 708 | (while t | 711 | (while t |
| 709 | (signal 'error (list (apply 'format args))))) | 712 | (signal 'error (list (apply 'format args))))) |
| 710 | 713 | ||