We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
local-variable-if-set-p
1 parent 13b33e2 commit 280baa3Copy full SHA for 280baa3
1 file changed
helpful.el
@@ -2283,7 +2283,7 @@ state of the current symbol."
2283
(local-p (and
2284
helpful--associated-buffer
2285
(local-variable-p sym helpful--associated-buffer)))
2286
- (local-set-p (local-variable-if-set-p sym))
+ (local-set-p (local-variable-if-set-p sym helpful--associated-buffer))
2287
(multiple-views-p
2288
(or (stringp val)
2289
(keymapp val)
@@ -2320,7 +2320,7 @@ state of the current symbol."
2320
sym
2321
(car (helpful--original-value sym)))
2322
"\n\n"))
2323
- (when (and local-p (not local-set-p))
+ (when (or local-p (not local-set-p))
2324
(insert
2325
(helpful--heading "Global Value")
2326
(helpful--format-value
0 commit comments