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

(cl-do-arglist): Don't add (setq :<key> ':<key>).

This commit is contained in:
Stefan Monnier 2000-03-17 19:35:23 +00:00
parent b42f693ccb
commit a29a2cd183
2 changed files with 5 additions and 8 deletions

View file

@ -285,14 +285,7 @@ ARGLIST allows full Common Lisp conventions."
'quote
(list nil (cl-const-expr-val def)))
(list 'list nil def))))))))
(cl-push karg keys)
;; In Emacs 20.3, keyword symbols are preinitialized,
;; making this unnecessary. But let's keep it for
;; compatibility's sake.
(if (= (aref (symbol-name karg) 0) ?:)
(progn (set karg karg)
(cl-push (list 'setq karg (list 'quote karg))
bind-inits)))))))
(cl-push karg keys)))))
(setq keys (nreverse keys))
(or (and (eq (car args) '&allow-other-keys) (cl-pop args))
(null keys) (= safety 0)