]> git.eshelyaron.com Git - emacs.git/commitdiff
srecode/dictionary compilation fix
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 14 Jun 2019 13:31:03 +0000 (15:31 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 14 Jun 2019 13:31:03 +0000 (15:31 +0200)
* lisp/cedet/srecode/ctxt.el (srecode/dictionary): Require to
avoid compilation warning about unknown slot.  Remove function
declarations that point to that file.

lisp/cedet/srecode/ctxt.el

index 071fbe46254901481ee176eb08a7648468628589..b20b9bc6417c5a18f214eb040419942899ee02c3 100644 (file)
@@ -32,9 +32,7 @@
 
 (require 'semantic)
 (require 'semantic/tag-ls)
-
-(declare-function srecode-dictionary-show-section "srecode/dictionary")
-(declare-function srecode-dictionary-set-value "srecode/dictionary")
+(require 'srecode/dictionary)
 
 ;;; Code:
 
@@ -175,7 +173,6 @@ This might add the following:
    PURE - show a section if a function is pure virtual.
    PARENT - The name of a parent type for functions.
    PROTECTION - Show a protection section, and what the protection is."
-  (require 'srecode/dictionary)
   (when template
 
     (let ((name (oref template object-name))