[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 8c60694: Make ffap find {/etc} files again
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 8c60694: Make ffap find {/etc} files again |
Date: |
Fri, 26 Jul 2019 07:39:05 -0400 (EDT) |
branch: master
commit 8c60694779e28b9a53067acf1800b26c72173c48
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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).
---
lisp/ffap.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/ffap.el b/lisp/ffap.el
index 47ceed4..33854a6 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:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 8c60694: Make ffap find {/etc} files again,
Lars Ingebrigtsen <=