We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
helpful--ensure': use
1 parent 19324e3 commit d8a5e98Copy full SHA for d8a5e98
1 file changed
helpful.el
@@ -1120,8 +1120,8 @@ unescaping too."
1120
'help-echo "Follow this link")
1121
1122
(defun helpful--ensure ()
1123
- "Ensure that the `helpful--sym' is available."
1124
- (unless helpful--sym
+ "Ensure that we are in a *helpful* buffer."
+ (unless (derived-mode-p 'helpful-mode)
1125
(user-error "Not in a *helpful* buffer")))
1126
1127
(defun helpful-view-in-manual ()
0 commit comments