Subject: bug#17005: 24.3.50; semantic is not finding cl-defun's and friends

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 14 Aug 2019 18:04:55 -0700

Thierry Volpiatto <[email-masked]> writes:

> when parsing a emacs-lisp buffer semantic is not finding cl-defun,
> cl-defmacro etc...
>
> Some trivial changes in "lisp/cedet/semantic/bovine/el.el" allow this.

(I'm going through old bug reports that have unfortunately gotten no
responses yet.)

I'm not really a Semantic user, so I can't test this, but I assume by
"some trivial changes" you meant something like this, which I've now
applied to Emacs 27.  If that's the wrong thing to do, please revert.

diff --git a/lisp/cedet/semantic/bovine/el.el b/lisp/cedet/semantic/bovine/el.el
index d46b73ff30..ba8307d2a4 100644
--- a/lisp/cedet/semantic/bovine/el.el
+++ b/lisp/cedet/semantic/bovine/el.el
@@ -248,6 +248,10 @@ semantic-elisp-use-read
   defun*
   defsubst
   defmacro
+  cl-defun
+  cl-defun*
+  cl-defsubst
+  cl-defmacro
   define-overload ;; @todo - remove after cleaning up semantic.
   define-overloadable-function
   )

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no