diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-03-17 19:35:23 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-03-17 19:35:23 +0000 |
commit | a29a2cd183911f66ac184a3103eccb19d6d50ff4 (patch) | |
tree | 42ecb5b6d01b947e98417839c364baeda67615e4 /lisp/emacs-lisp | |
parent | b42f693ccb6df0adf0f509ae8766a51f5bfd4cf5 (diff) | |
download | emacs-a29a2cd183911f66ac184a3103eccb19d6d50ff4.tar.gz emacs-a29a2cd183911f66ac184a3103eccb19d6d50ff4.tar.bz2 emacs-a29a2cd183911f66ac184a3103eccb19d6d50ff4.zip |
(cl-do-arglist): Don't add (setq :<key> ':<key>).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/cl-macs.el | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index f2663d7f385..50b5735f6a2 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -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) |