]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix up previous cl-def* changes in bovine
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 16 Aug 2019 01:10:22 +0000 (18:10 -0700)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 16 Aug 2019 01:10:22 +0000 (18:10 -0700)
* lisp/cedet/semantic/bovine/el.el (lambda): cl-defun* doesn't
exist (bug#17005).
(lambda): Add cl-defstruct.
(semantic-up-context): Add cl- forms.

lisp/cedet/semantic/bovine/el.el

index ba8307d2a4bb67929fea6a12e2b5745553aa6caa..b4217080b664a30d3fa4459f693f8bea142330f1 100644 (file)
@@ -249,7 +249,6 @@ Return a bovination list to use."
   defsubst
   defmacro
   cl-defun
-  cl-defun*
   cl-defsubst
   cl-defmacro
   define-overload ;; @todo - remove after cleaning up semantic.
@@ -396,6 +395,7 @@ Return a bovination list to use."
          (cons nil nil)
          )))
   defstruct
+  cl-defstruct
   )
 
 (semantic-elisp-setup-form-parser
@@ -614,7 +614,7 @@ Returns non-nil it is not possible to go up a context."
   (let ((last-up (semantic-up-context-default)))
   (while
       (and (not (looking-at
-                "(\\(let\\*?\\|def\\(un\\|method\\|generic\\|\
+                "(\\(let\\*?\\|\\(?:cl-\\)?def\\(un\\|method\\|generic\\|\
 define-mode-overload\\)\
 \\|with-slots\\)"))
           (not last-up))