1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-08 07:20:28 -08:00

* lisp/emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.

This commit is contained in:
Glenn Morris 2013-09-19 16:31:54 -04:00
parent c440407a90
commit a2c501b84e
2 changed files with 6 additions and 2 deletions

View file

@ -2701,8 +2701,10 @@ The function's arguments should be treated as immutable.
\(fn NAME ARGLIST [DOCSTRING] BODY...)"
(declare (debug cl-defun) (indent 2))
(let* ((argns (cl--arglist-args args)) (p argns)
(pbody (cons 'progn body)))
(let* ((argns (cl--arglist-args args))
(p argns)
;; (pbody (cons 'progn body))
)
(while (and p (eq (cl--expr-contains args (car p)) 1)) (pop p))
`(progn
,(if p nil ; give up if defaults refer to earlier args