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

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

[elpa] externals/auctex 2d9944d 03/71: ; Improve initial commit.


From: Tassilo Horn
Subject: [elpa] externals/auctex 2d9944d 03/71: ; Improve initial commit.
Date: Fri, 17 Dec 2021 15:00:24 -0500 (EST)

branch: externals/auctex
commit 2d9944d0ce0e2c347e532e418ba8447df10c96f1
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    ; Improve initial commit.
---
 style/backref.el | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/style/backref.el b/style/backref.el
index 064f931..a7a6ef1 100644
--- a/style/backref.el
+++ b/style/backref.el
@@ -57,10 +57,6 @@
     "backreflastsep"
     "backrefentrycount")
 
-   (LaTeX-paragraph-commands-add-locally '("backrefparscanfalse"
-                                           "backrefparscantrue"
-                                           "backrefprint"))
-
    ;; This is a hack: We want to have the 2 macros
    ;; \backrefparscanfalse and \backrefparscantrue indented like
    ;; \bibitem, hence we add them to a local version of
@@ -70,6 +66,11 @@
                  (concat LaTeX-item-regexp
                          "\\|" "backrefparscan\\(false\\|true\\)\\b")))
 
+   ;; Only add "backrefprint" here, "backrefparscan*" will be added
+   ;; via `LaTeX-item-regexp' when `LaTeX-set-paragraph-start' is
+   ;; called:
+   (LaTeX-paragraph-commands-add-locally '("backrefprint"))
+
    ;; Fontification
    (when (and (featurep 'font-latex)
               (eq TeX-install-font-lock 'font-latex-setup))



reply via email to

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