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

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

[elpa] externals/auctex e53bb19a90 37/48: ; Recognize large arguments wi


From: Tassilo Horn
Subject: [elpa] externals/auctex e53bb19a90 37/48: ; Recognize large arguments with many lines
Date: Fri, 18 Nov 2022 14:27:45 -0500 (EST)

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

    ; Recognize large arguments with many lines
    
    * latex.el (LaTeX-completion-find-argument-boundries): Enlarge the
    portion of buffer searched for argument boundries.
---
 latex.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/latex.el b/latex.el
index d139192d4d..3e76243cc7 100644
--- a/latex.el
+++ b/latex.el
@@ -7712,8 +7712,8 @@ ARGS are characters passed to the function
 defined in the variable `LaTeX-completion-macro-delimiters' are
 taken."
   (save-restriction
-    (narrow-to-region (line-beginning-position -20)
-                      (line-beginning-position  20))
+    (narrow-to-region (line-beginning-position -40)
+                      (line-beginning-position  40))
     (let ((args (or args (LaTeX-completion-macro-delimiters))))
       (condition-case nil
           (with-syntax-table (apply #'TeX-search-syntax-table args)



reply via email to

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