]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Dpn't assume symbol-name of keywords starts with colon"
authorGerd Möllmann <gerd@gnu.org>
Tue, 18 Oct 2022 06:31:19 +0000 (08:31 +0200)
committerGerd Möllmann <gerd@gnu.org>
Tue, 18 Oct 2022 06:31:19 +0000 (08:31 +0200)
This reverts commit bb6b5db2b7af3f1aaf8866d4dd6ce944d10244f8.

lisp/emacs-lisp/cl-seq.el

index 7cff3f3ce1007af338df955a8ff6d448d662ca17..60e204eaf518bab5ee1455ccd8f9d346c3f627e7 100644 (file)
@@ -58,7 +58,7 @@
                (if (eq var :if-not)
                    (setq mem `(and ,mem (setq cl-if ,mem) t)))
                (list (intern
-                      (format "cl-%s" (substring (symbol-name var) 0)))
+                      (format "cl-%s" (substring (symbol-name var) 1)))
                      (if (consp x) `(or ,mem ,(car (cdr x))) mem))))
            kwords)
      ,@(append