diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-13 16:56:01 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-13 16:56:01 +0200 |
commit | 5b8fa272792d8072f51ff048646022fde1db73f4 (patch) | |
tree | c1d18f6b3fb7e02bb032d7f43ca01a65d5ef1c1c /lisp/cedet | |
parent | 1cd77d2021c9d22f1fbdbccd8918435ec7c10372 (diff) | |
download | emacs-5b8fa272792d8072f51ff048646022fde1db73f4.tar.gz emacs-5b8fa272792d8072f51ff048646022fde1db73f4.tar.bz2 emacs-5b8fa272792d8072f51ff048646022fde1db73f4.zip |
semantic/grammar byte compilation fixes
* lisp/cedet/semantic/grammar.el (semantic/analyze): Require to
avoid compilation warnings about unknown slots, and remove
declare-function.
Diffstat (limited to 'lisp/cedet')
-rw-r--r-- | lisp/cedet/semantic/grammar.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/cedet/semantic/grammar.el b/lisp/cedet/semantic/grammar.el index 7fb54cbb899..2af7a7fa826 100644 --- a/lisp/cedet/semantic/grammar.el +++ b/lisp/cedet/semantic/grammar.el @@ -37,9 +37,9 @@ (require 'semantic/grammar-wy) (require 'semantic/idle) (require 'help-fns) +(require 'semantic/analyze) (declare-function semantic-momentary-highlight-tag "semantic/decorate") -(declare-function semantic-analyze-context "semantic/analyze") (declare-function semantic-analyze-tags-of-class-list "semantic/analyze/complete") @@ -1878,7 +1878,6 @@ Optional argument COLOR determines if color is added to the text." (define-mode-local-override semantic-analyze-current-context semantic-grammar-mode (point) "Provide a semantic analysis object describing a context in a grammar." - (require 'semantic/analyze) (if (semantic-grammar-in-lisp-p) (with-mode-local emacs-lisp-mode (semantic-analyze-current-context point)) |