diff options
| author | Stefan Monnier | 2000-03-17 19:35:23 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-03-17 19:35:23 +0000 |
| commit | a29a2cd183911f66ac184a3103eccb19d6d50ff4 (patch) | |
| tree | 42ecb5b6d01b947e98417839c364baeda67615e4 | |
| parent | b42f693ccb6df0adf0f509ae8766a51f5bfd4cf5 (diff) | |
| download | emacs-a29a2cd183911f66ac184a3103eccb19d6d50ff4.tar.gz emacs-a29a2cd183911f66ac184a3103eccb19d6d50ff4.zip | |
(cl-do-arglist): Don't add (setq :<key> ':<key>).
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/cl-macs.el | 9 |
2 files changed, 5 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index efd4a246086..44ec52f08b3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2000-03-17 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add (setq :<key> ':<key>). | ||
| 4 | |||
| 1 | 2000-03-16 Dave Love <fx@gnu.org> | 5 | 2000-03-16 Dave Love <fx@gnu.org> |
| 2 | 6 | ||
| 3 | * progmodes/f90.el (f90): Put custom group under `languages', not | 7 | * progmodes/f90.el (f90): Put custom group under `languages', not |
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." | |||
| 285 | 'quote | 285 | 'quote |
| 286 | (list nil (cl-const-expr-val def))) | 286 | (list nil (cl-const-expr-val def))) |
| 287 | (list 'list nil def)))))))) | 287 | (list 'list nil def)))))))) |
| 288 | (cl-push karg keys) | 288 | (cl-push karg keys))))) |
| 289 | ;; In Emacs 20.3, keyword symbols are preinitialized, | ||
| 290 | ;; making this unnecessary. But let's keep it for | ||
| 291 | ;; compatibility's sake. | ||
| 292 | (if (= (aref (symbol-name karg) 0) ?:) | ||
| 293 | (progn (set karg karg) | ||
| 294 | (cl-push (list 'setq karg (list 'quote karg)) | ||
| 295 | bind-inits))))))) | ||
| 296 | (setq keys (nreverse keys)) | 289 | (setq keys (nreverse keys)) |
| 297 | (or (and (eq (car args) '&allow-other-keys) (cl-pop args)) | 290 | (or (and (eq (car args) '&allow-other-keys) (cl-pop args)) |
| 298 | (null keys) (= safety 0) | 291 | (null keys) (= safety 0) |