emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org 23daada78d: compat: Prevent spell-checking


From: ELPA Syncer
Subject: [elpa] externals-release/org 23daada78d: compat: Prevent spell-checking citation
Date: Sat, 22 Jan 2022 09:57:50 -0500 (EST)

branch: externals-release/org
commit 23daada78d4b5b805d5a47cd009be3c41dcb496c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>

    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>
---
 lisp/org-compat.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index db23553a8b..4ad87c84d0 100644
--- a/lisp/org-compat.el
+++ b/lisp/org-compat.el
@@ -1049,9 +1049,9 @@ ELEMENT is the element at point."
     (cl-case (org-element-type object)
       ;; Prevent checks in links due to keybinding conflict with
       ;; Flyspell.
-      ((code entity export-snippet inline-babel-call
-            inline-src-block line-break latex-fragment link macro
-            statistics-cookie target timestamp verbatim)
+      ((citation citation-reference code entity export-snippet 
inline-babel-call
+                inline-src-block line-break latex-fragment link macro
+                statistics-cookie target timestamp verbatim)
        nil)
       (footnote-reference
        ;; Only in inline footnotes, within the definition.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]