FUEL: Make fuel-help (C-c C-d d) work for vocabularies too.

db4
Björn Lindqvist 2013-08-14 18:04:18 +02:00
parent f35795f415
commit 23e3bcd9ff
1 changed files with 5 additions and 3 deletions

View File

@ -254,10 +254,12 @@
(fuel-help--word-help t)) (fuel-help--word-help t))
(defun fuel-help (&optional print-message) (defun fuel-help (&optional print-message)
"Show extended help about the symbol at point, using a help "Show extended help about the word or vocabulary at point, using a
buffer." help buffer."
(interactive "p") (interactive "p")
(fuel-help--word-help nil nil nil print-message)) (if (factor-in-using)
(fuel-help-vocab (factor-symbol-at-point))
(fuel-help--word-help nil nil nil print-message)))
(defun fuel-help-vocab (vocab) (defun fuel-help-vocab (vocab)
"Ask for a vocabulary name and show its help page." "Ask for a vocabulary name and show its help page."