mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
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).
This commit is contained in:
parent
a31ea93432
commit
8c60694779
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user