summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-lib.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2015-03-23 18:24:30 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2015-03-23 18:24:30 -0400
commitae277259b1cf8d913893417e4ca284040f5a543f (patch)
tree42d607424f8666780abe25fd49d9664abd13d81f /lisp/emacs-lisp/cl-lib.el
parent1b5c411e6a4dffd6a8dec9846da0d1650a85b879 (diff)
downloademacs-ae277259b1cf8d913893417e4ca284040f5a543f.tar.gz
emacs-ae277259b1cf8d913893417e4ca284040f5a543f.tar.bz2
emacs-ae277259b1cf8d913893417e4ca284040f5a543f.zip
Add new `cl-struct' and `eieio' pcase patterns.
* lisp/emacs-lisp/cl-macs.el (cl-struct): New pcase pattern. * lisp/emacs-lisp/eieio.el (eieio-pcase-slot-index-table) (eieio-pcase-slot-index-from-index-table): New functions. (eieio): New pcase pattern. * lisp/emacs-lisp/pcase.el (pcase--make-docstring): New function. (pcase): Use it to build the docstring. (pcase-defmacro): Make sure the macro is lazy-loaded. (\`): Move its docstring from `pcase'.
Diffstat (limited to 'lisp/emacs-lisp/cl-lib.el')
-rw-r--r--lisp/emacs-lisp/cl-lib.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-lib.el b/lisp/emacs-lisp/cl-lib.el
index 4b124951446..10651cc29bd 100644
--- a/lisp/emacs-lisp/cl-lib.el
+++ b/lisp/emacs-lisp/cl-lib.el
@@ -629,7 +629,6 @@ the process stops as soon as KEYS or VALUES run out.
If ALIST is non-nil, the new pairs are prepended to it."
(nconc (cl-mapcar 'cons keys values) alist))
-
;;; Generalized variables.
;; These used to be in cl-macs.el since all macros that use them (like setf)