[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master e53bb19a 3/4: ; Recognize large arguments with many lines
From: |
Arash Esbati |
Subject: |
master e53bb19a 3/4: ; Recognize large arguments with many lines |
Date: |
Thu, 17 Nov 2022 06:04:24 -0500 (EST) |
branch: master
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 d139192d..3e76243c 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master e53bb19a 3/4: ; Recognize large arguments with many lines,
Arash Esbati <=