forked from mirrors/org-mode
compat: Prevent spell-checking citation
* lisp/org-compat.el (org--flyspell-object-check-p): Do not spell-check citation and citation-reference objects. Reported-by: Rudolf Adamkovič <salutis@me.com> <http://lists.gnu.org/r/emacs-orgmode/2022-01/msg00434.html>
This commit is contained in:
parent
7ba24c673b
commit
23daada78d
|
@ -1049,9 +1049,9 @@ ELEMENT is the element at point."
|
||||||
(cl-case (org-element-type object)
|
(cl-case (org-element-type object)
|
||||||
;; Prevent checks in links due to keybinding conflict with
|
;; Prevent checks in links due to keybinding conflict with
|
||||||
;; Flyspell.
|
;; Flyspell.
|
||||||
((code entity export-snippet inline-babel-call
|
((citation citation-reference code entity export-snippet inline-babel-call
|
||||||
inline-src-block line-break latex-fragment link macro
|
inline-src-block line-break latex-fragment link macro
|
||||||
statistics-cookie target timestamp verbatim)
|
statistics-cookie target timestamp verbatim)
|
||||||
nil)
|
nil)
|
||||||
(footnote-reference
|
(footnote-reference
|
||||||
;; Only in inline footnotes, within the definition.
|
;; Only in inline footnotes, within the definition.
|
||||||
|
|
Loading…
Reference in a new issue