Skip to content

Commit

Permalink
fix nil pos when building button for vars
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho authored and Wilfred committed Sep 11, 2023
1 parent c57ff0d commit 66ba816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpful.el
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,7 @@ buffer."
;; that.
(save-excursion
(condition-case _err
(setq pos (cdr (find-variable-noselect sym 'defvar)))
(setq pos (cdr (find-variable-noselect sym library-name)))
(search-failed nil)
;; If your current Emacs instance doesn't match the source
;; code configured in find-function-C-source-directory, we can
Expand Down

0 comments on commit 66ba816

Please sign in to comment.