ffap: disallow braces in filenames for tex modes
* lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow braces in tex-related modes.
This commit is contained in:
parent
3e9759a3d5
commit
7f1baf2bfa
1 changed files with 3 additions and 0 deletions
|
@ -1013,6 +1013,9 @@ If a given RFC isn't in these then `ffap-rfc-path' is offered."
|
|||
(machine "-[:alnum:]." "" ".")
|
||||
;; Mathematica paths: allow backquotes
|
||||
(math-mode ",-:$+<>@-Z_[:lower:]~`" "<" "@>;.,!?`:")
|
||||
;; (La)TeX: don't allow braces
|
||||
(latex-mode "--:\\\\$+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:")
|
||||
(tex-mode "--:\\\\$+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:")
|
||||
)
|
||||
"Alist of (MODE CHARS BEG END), where MODE is a symbol,
|
||||
possibly a major-mode name, or one of the symbols
|
||||
|
|
Loading…
Add table
Reference in a new issue