]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove useless backslashes from ffap-string-at-point-mode-alist
authorNicolas Richard <youngfrog@members.fsf.org>
Wed, 5 Aug 2015 17:04:44 +0000 (19:04 +0200)
committerNicolas Richard <youngfrog@members.fsf.org>
Sun, 9 Aug 2015 16:41:43 +0000 (18:41 +0200)
* lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
misleading backslashes from default value.

lisp/ffap.el

index d481f90541265fe7dc2017f67aa6dca0e41e8337..8f1ecd47f0f78b8af45c4e6388e9c4fe2455c893 100644 (file)
@@ -1004,7 +1004,7 @@ If a given RFC isn't in these then `ffap-rfc-path' is offered."
     ;; Slightly controversial decisions:
     ;; * strip trailing "@" and ":"
     ;; * no commas (good for latex)
-    (file "--:\\\\$\\{\\}+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:")
+    (file "--:\\\\${}+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:")
     ;; An url, or maybe a email/news message-id:
     (url "--:=&?$+@-Z_[:alpha:]~#,%;*()!'" "^[0-9a-zA-Z]" ":;.,!?")
     ;; Find a string that does *not* contain a colon: