Skip to content

Commit

Permalink
Fix 'org-element-at-point' eldoc error (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
zedeus authored Nov 1, 2023
1 parent 2cdbdf1 commit 1338e5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nim-suggest.el
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ PROJECT-PATH is added as the last option."
;; and nimscript-mode (nimsuggest doesn't support yet).
;; https://github.com/nim-lang/nimsuggest/issues/29
(not (memq major-mode '(org-mode nimscript-mode)))
(not (and (fboundp 'org-in-src-block-p)
(not (and (derived-mode-p 'org-mode)
(fboundp 'org-in-src-block-p)
(or (org-in-src-block-p)
(org-in-src-block-p t))))))

Expand Down

0 comments on commit 1338e5b

Please sign in to comment.