emacs-lsp / lsp-treemacs

lsp-mode :heart: treemacs
GNU General Public License v3.0
400 stars 47 forks source link

Error: void-function nil #19

Closed seagle0128 closed 4 years ago

seagle0128 commented 4 years ago

While clicking the item in lsp-treemacs windows, I got this error:

Debugger entered--Lisp error: (void-function nil)
  nil()
  treemacs-single-click-expand-action((mouse-1 (#<window 9 on *LSP Symbols List*> 30 (80 . 42) 85997134 nil 30 (9 . 2) nil (0 . 8) (8 . 15))))
  funcall-interactively(treemacs-single-click-expand-action (mouse-1 (#<window 9 on *LSP Symbols List*> 30 (80 . 42) 85997134 nil 30 (9 . 2) nil (0 . 8) (8 . 15))))
  call-interactively(treemacs-single-click-expand-action nil nil)
  #f(compiled-function (cmd &optional record-flag keys special) "Execute CMD as an editor command.\nCMD must be a symbol that satisfies the `commandp' predicate.\nOptional second arg RECORD-FLAG non-nil\nmeans unconditionally put this command in the variable `command-history'.\nOtherwise, that is done only if an arg is read using the minibuffer.\nThe argument KEYS specifies the value to use instead of (this-command-keys)\nwhen reading the arguments; if it is nil, (this-command-keys) is used.\nThe argument SPECIAL, if non-nil, means that this command is executing\na special event, so ignore the prefix argument and don't clear it." #<bytecode 0x408f6815>)(treemacs-single-click-expand-action nil nil nil)
  ad-Advice-command-execute(#f(compiled-function (cmd &optional record-flag keys special) "Execute CMD as an editor command.\nCMD must be a symbol that satisfies the `commandp' predicate.\nOptional second arg RECORD-FLAG non-nil\nmeans unconditionally put this command in the variable `command-history'.\nOtherwise, that is done only if an arg is read using the minibuffer.\nThe argument KEYS specifies the value to use instead of (this-command-keys)\nwhen reading the arguments; if it is nil, (this-command-keys) is used.\nThe argument SPECIAL, if non-nil, means that this command is executing\na special event, so ignore the prefix argument and don't clear it." #<bytecode 0x408f6815>) treemacs-single-click-expand-action)
  apply(ad-Advice-command-execute #f(compiled-function (cmd &optional record-flag keys special) "Execute CMD as an editor command.\nCMD must be a symbol that satisfies the `commandp' predicate.\nOptional second arg RECORD-FLAG non-nil\nmeans unconditionally put this command in the variable `command-history'.\nOtherwise, that is done only if an arg is read using the minibuffer.\nThe argument KEYS specifies the value to use instead of (this-command-keys)\nwhen reading the arguments; if it is nil, (this-command-keys) is used.\nThe argument SPECIAL, if non-nil, means that this command is executing\na special event, so ignore the prefix argument and don't clear it." #<bytecode 0x408f6815>) treemacs-single-click-expand-action)
  command-execute(treemacs-single-click-expand-action)
yyoncho commented 4 years ago

Should be fixed now, please reopen if you got it again