Skip to content

Commit a02e331

Browse files
committed
fix(org): Add a workaround to diable the false positive org-element warning
1 parent 2ac6644 commit a02e331

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spacemacs.org

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,3 +813,9 @@ The visualization in org-mode can be wrong, which needs a fix.
813813
(add-hook 'after-make-frame-functions
814814
#'enable-doom-modeline-icons-weird)
815815
#+END_SRC
816+
817+
*** Workaround for spammed false positive warning messages
818+
Ticket: [[https://github.com/syl20bnr/spacemacs/issues/16575][syl20bnr/spacemacs#16575 ‘org-element-at-point’ cannot be used in non-Org buffer]]
819+
#+BEGIN_SRC emacs-lisp :tangle user-config.el
820+
(add-to-list 'warning-suppress-types '(org-element org-element-parser))
821+
#+END_SRC

0 commit comments

Comments
 (0)