diff options
author | Štěpán Němec <stepnem@gmail.com> | 2020-03-01 18:50:14 +0100 |
---|---|---|
committer | Štěpán Němec <stepnem@gmail.com> | 2020-04-18 17:10:02 +0200 |
commit | 067b0705986572e42687334c4eaf32988f22f680 (patch) | |
tree | 70129d8ec8e109cb64f895e462298adf2c2636e8 /lisp/subr.el | |
parent | f3b62b6c62c41d2e5d15418ea940bce6b11bdf7d (diff) | |
download | emacs-067b0705986572e42687334c4eaf32988f22f680.tar.gz emacs-067b0705986572e42687334c4eaf32988f22f680.tar.bz2 emacs-067b0705986572e42687334c4eaf32988f22f680.zip |
; Fix some typos and doc issues (bug#40695)
Diffstat (limited to 'lisp/subr.el')
-rw-r--r-- | lisp/subr.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index a744cfddfd4..33194e4ffa2 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -385,7 +385,7 @@ entry to the debugger, even when `debug-on-error' is non-nil. This can be overridden by `debug-ignored-errors'. To signal with MESSAGE without interpreting format characters -like `%', `\\=`' and `\\='', use (error \"%s\" MESSAGE). +like `%', `\\=`' and `\\='', use (user-error \"%s\" MESSAGE). In Emacs, the convention is that error messages start with a capital letter but *do not* end with a period. Please follow this convention for the sake of consistency." @@ -3290,7 +3290,7 @@ alternatives." (defun function-get (f prop &optional autoload) "Return the value of property PROP of function F. -If AUTOLOAD is non-nil and F is autoloaded, try to autoload it +If AUTOLOAD is non-nil and F is autoloaded, try to load it in the hope that it will set PROP. If AUTOLOAD is `macro', do it only if it's an autoloaded macro." (let ((val nil)) @@ -4997,7 +4997,7 @@ The properties used on SYMBOL are `composefunc', `sendfunc', (defun backtrace-frames (&optional base) "Collect all frames of current backtrace into a list. If non-nil, BASE should be a function, and frames before its -nearest activation frames are discarded." +nearest activation frame are discarded." (let ((frames nil)) (mapbacktrace (lambda (&rest frame) (push frame frames)) (or base 'backtrace-frames)) |