










| author | Arash Esbati <arash@gnu.org> | 2026-09-14 10:03:57 +0200 |
|---|---|---|
| committer | Arash Esbati <arash@gnu.org> | 2026-09-14 10:03:57 +0200 |
| commit | bc4bfbde77af88fa5ba28252ca646e2333087026 (patch) | |
| tree | 627dd653703efd2bfcd6977f5c03758b4bdde276 | |
| parent | f91429c7c54206c1347db3f08feb572942e0a712 (diff) | |
; * latex.el (LaTeX-what-macro): Fix last change.
| -rw-r--r-- | latex.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/latex.el b/latex.el
index c5b0a022a9f..338c4f33c53 100644
--- a/latex.el
+++ b/latex.el
@@ -7752,8 +7752,9 @@ this point. If nil, limit to the previous 15 lines."
(LaTeX-completion-macro-delimiters 'open))
;; Deal with spaces between macro name and argument
;; in `docTeX-mode':
- (when (derived-mode-p 'docTeX-mode)
- (skip-chars-backward "[ ]"))
+ (if (derived-mode-p 'docTeX-mode)
+ (skip-chars-backward "[ ]")
+ t)
(re-search-backward (concat (regexp-quote TeX-esc)
"["
"-*+a-zA-Z@"
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。