aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-04-20 22:06:27 +0000
committerRichard M. Stallman1998-04-20 22:06:27 +0000
commitab210d1b8036762610d23cdae3b619b444d4cbc3 (patch)
tree75e74c76e9a41e07bd9326bd550d492fea9ed562
parent3ca87c7b46c3ed7ea34f3eca5a3bbb93946c10e9 (diff)
downloademacs-ab210d1b8036762610d23cdae3b619b444d4cbc3.tar.gz
emacs-ab210d1b8036762610d23cdae3b619b444d4cbc3.zip
(cl-do-arglist): Undo previous change.
-rw-r--r--lisp/emacs-lisp/cl-macs.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 7467b2bb5ed..ed47ef4a4a6 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -302,7 +302,14 @@ ARGLIST allows full Common Lisp conventions."
302 'quote 302 'quote
303 (list nil (cl-const-expr-val def))) 303 (list nil (cl-const-expr-val def)))
304 (list 'list nil def)))))))) 304 (list 'list nil def))))))))
305 (cl-push karg keys))))) 305 (cl-push karg keys)
306 ;; In Emacs 20.3, keyword symbols are preinitialized,
307 ;; making this unnecessary. But let's keep it for
308 ;; compatibility's sake.
309 (if (= (aref (symbol-name karg) 0) ?:)
310 (progn (set karg karg)
311 (cl-push (list 'setq karg (list 'quote karg))
312 bind-inits)))))))
306 (setq keys (nreverse keys)) 313 (setq keys (nreverse keys))
307 (or (and (eq (car args) '&allow-other-keys) (cl-pop args)) 314 (or (and (eq (car args) '&allow-other-keys) (cl-pop args))
308 (null keys) (= safety 0) 315 (null keys) (= safety 0)