* lisp/emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
This commit is contained in:
parent
9dd40b0005
commit
daac280ae0
2 changed files with 11 additions and 8 deletions
|
@ -185,11 +185,10 @@ The return value is undefined.
|
|||
((and (featurep 'cl)
|
||||
(memq (car x) ;C.f. cl-do-proclaim.
|
||||
'(special inline notinline optimize warn)))
|
||||
(if (null (stringp docstring))
|
||||
(push (list 'declare x) body)
|
||||
(setcdr body (cons (list 'declare x) (cdr body))))
|
||||
(push (list 'declare x)
|
||||
(if (stringp docstring) (cdr body) body))
|
||||
nil)
|
||||
(t (message "Warning: Unknown defun property %S in %S"
|
||||
(t (message "Warning: Unknown defun property `%S' in %S"
|
||||
(car x) name)))))
|
||||
decls))
|
||||
(def (list 'defalias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue