branch: externals/auctex commit e53bb19a90e99f14020a10f7988bdd861a0ca05a Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@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)