emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/files.el,v


From: Michael Albinus
Subject: [Emacs-diffs] Changes to emacs/lisp/files.el,v
Date: Sun, 05 Aug 2007 12:46:33 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Michael Albinus <albinus>       07/08/05 12:46:33

Index: files.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/files.el,v
retrieving revision 1.917
retrieving revision 1.918
diff -u -b -r1.917 -r1.918
--- files.el    5 Aug 2007 08:50:52 -0000       1.917
+++ files.el    5 Aug 2007 12:46:33 -0000       1.918
@@ -2314,7 +2314,7 @@
                (remote-id (file-remote-p buffer-file-name)))
            ;; Remove remote file name identification.
            (when (and (stringp remote-id)
-                      (string-match remote-id name))
+                      (string-match (regexp-quote remote-id) name))
              (setq name (substring name (match-end 0))))
            ;; Remove backup-suffixes from file name.
            (setq name (file-name-sans-versions name))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]