mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Closures are always non-nil
* lisp/emacs-lisp/byte-opt.el (byte-compile-trueconstp): Treat closures as true in boolean context.
This commit is contained in:
parent
9452dc4821
commit
b29be11a6f
1 changed files with 2 additions and 1 deletions
|
|
@ -755,7 +755,8 @@ for speeding up processing.")
|
|||
((eq head 'list) (cdr form))
|
||||
((memq head
|
||||
;; FIXME: Replace this list with a function property?
|
||||
'( length safe-length cons lambda
|
||||
'( lambda internal-make-closure
|
||||
length safe-length cons
|
||||
string unibyte-string make-string concat
|
||||
format format-message
|
||||
substring substring-no-properties string-replace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue