diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-02-20 13:44:19 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-02-20 13:44:19 +0100 |
commit | 825aed11d267f7879ca8915eb2b0d154e0beb2d4 (patch) | |
tree | 7ac81a68c2a114a4a549220f3ba238b5111ff6b1 /lisp/emacs-lisp/byte-opt.el | |
parent | 43703a06b9ea31b86c46bef7cb488ea885569ddc (diff) | |
download | emacs-825aed11d267f7879ca8915eb2b0d154e0beb2d4.tar.gz emacs-825aed11d267f7879ca8915eb2b0d154e0beb2d4.tar.bz2 emacs-825aed11d267f7879ca8915eb2b0d154e0beb2d4.zip |
Add the `always' function
* doc/lispref/functions.texi (Calling Functions): Document it.
* lisp/subr.el (always): New function.
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Mark it as
side effect free.
Diffstat (limited to 'lisp/emacs-lisp/byte-opt.el')
-rw-r--r-- | lisp/emacs-lisp/byte-opt.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index e0feb95a461..9f0ba232a4b 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el @@ -1348,7 +1348,7 @@ Same format as `byte-optimize--lexvars', with shared structure and contents.") window-total-height window-total-width window-use-time window-vscroll window-width zerop)) (side-effect-and-error-free-fns - '(arrayp atom + '(always arrayp atom bignump bobp bolp bool-vector-p buffer-end buffer-list buffer-size buffer-string bufferp car-safe case-table-p cdr-safe char-or-string-p characterp |