diff options
| author | Kisaragi Hiu <mail@kisaragi-hiu.com> | 2022-10-20 17:55:54 +0900 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2022-10-23 18:34:28 -0700 |
| commit | 60c1cd49f72e930b8796e5644bd222e8fc466740 (patch) | |
| tree | 592409029592eda28fb56314b375d30faee37659 | |
| parent | 3aa08da7a151f1928bf0e3d12fc2443b6485b6ef (diff) | |
Mark symbol in "the command <symbol>" as callable
This, for example, skips an unnecessary "show variable?" for local
minor mode variables.
Whereas recentf-mode (global) says:
> Non-nil if Recentf mode is enabled.
>
> See the recentf-mode command
> for a description of this minor mode.
, whitespace-mode (local) says:
> Non-nil if Whitespace mode is enabled.
>
> Use the command whitespace-mode to change this variable.
. This change catches the latter case.
| -rw-r--r-- | helpful.el | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -797,6 +797,7 @@ bound) or else highlight." 'callable-p nil)) ((and (fboundp sym) (or (s-starts-with-p " command" after-txt) + (s-ends-with-p "command " before-txt) (s-ends-with-p "function " before-txt))) (helpful--button sym-name |
