void-variable jdee插件emacs

时间:2015-03-15 12:04:36

标签: emacs elisp

我遇到了emacs的jdee插件问题。

函数jde-javadoc-generator返回:

Debugger entered--Lisp error: (void-variable working-message)

这是我怀疑在jde-javadoc-generator中出现问题的部分:

...
(jde-javadoc-status-forms "Updating" "done" 
        (jde-javadoc-dynamic-status)
        (setq doctree (jde-javadoc-tag-doctree tag))
        (if (and (fboundp checker)
                 (not (funcall checker tag doctree)))
            (setq report nil)
          (let ((seas semantic-edits-are-safe))
            (make-local-variable 'semantic-edits-are-safe)
            (unwind-protect
                (progn
                  (setq semantic-edits-are-safe t)
                  (when (or (not doctree)
                            (jde-javadoc-delete-documentation
                             tag noconfirm))
                    (funcall generator tag doctree)
                    (jde-javadoc-indent-documentation tag)))
              (setq semantic-edits-are-safe seas))))
        (jde-javadoc-dynamic-status t))
...

这是被调用的函数:

(defmacro jde-javadoc-status-forms (message donestr &rest forms)
  "Wrapper for `working-status-forms'.                                                                                                                                                                               
See `working-status-forms' for details on MESSAGE, DONESTR and FORMS                                                                                                                                                 
arguments.  Does not override an outer `working-status-forms'                                                                                                                                                        
MESSAGE."
  `(working-status-forms (or working-message ,message) ,donestr
     ,@forms))

(defun jde-javadoc-dynamic-status (&rest args)
  "Wrapper for `working-dynamic-status'.                                                                                                                                                                             
Does nothing if not called within the macro `working-status-forms'.                                                                                                                                                  
See `working-dynamic-status' for meaning of ARGS."
  (and working-message
       (apply #'working-dynamic-status args)))

你可以在这里看到更多: https://github.com/emacsmirror/jdee/blob/master/lisp/jde-javadoc.el

提前致谢:)

0 个答案:

没有答案