diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-26 13:38:51 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-26 13:38:51 +0200 |
commit | 8c60694779e28b9a53067acf1800b26c72173c48 (patch) | |
tree | 541795e085b4df8f99c71d0d6573e28d37cbe7c3 /lisp/ffap.el | |
parent | a31ea934324e838840bc07f18d2f6adcb06d5bf4 (diff) | |
download | emacs-8c60694779e28b9a53067acf1800b26c72173c48.tar.gz |
Make ffap find {/etc} files again
* lisp/ffap.el (ffap-string-at-point-mode-alist): Make
(ffap-file-at-point) work on {/etc} again (bug#26190).
Diffstat (limited to 'lisp/ffap.el')
-rw-r--r-- | lisp/ffap.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ffap.el b/lisp/ffap.el index 47ceed47e3e..33854a6c0d4 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el @@ -1081,9 +1081,9 @@ If a given RFC isn't in these then `ffap-rfc-path' is offered." '( ;; The default, used when the `major-mode' is not found. ;; Slightly controversial decisions: - ;; * strip trailing "@" and ":" + ;; * strip trailing "@", ":" and enclosing "{"/"}". ;; * no commas (good for latex) - (file "--:\\\\${}+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:") + (file "--:\\\\${}+<>@-Z_[:alpha:]~*?" "{<@" "@>;.,!:}") ;; An url, or maybe an email/news message-id: (url "--:=&?$+@-Z_[:alpha:]~#,%;*()!'" "^[0-9a-zA-Z]" ":;.,!?") ;; Find a string that does *not* contain a colon: |