Index: emacs/lisp/ediff-ptch.el
diff -c emacs/lisp/ediff-ptch.el:1.23 emacs/lisp/ediff-ptch.el:1.24
*** emacs/lisp/ediff-ptch.el:1.23       Mon Jul  4 23:08:53 2005
--- emacs/lisp/ediff-ptch.el    Sun Jul 10 18:46:24 2005
***************
*** 163,169 ****
  ;; returns /dev/null, if can't strip prefix
  (defsubst ediff-file-name-sans-prefix (filename prefix)
    (save-match-data
!     (if (string-match (concat "^" prefix) filename)
        (substring filename (match-end 0))
        (concat "/null/" filename))))
  
--- 163,169 ----
  ;; returns /dev/null, if can't strip prefix
  (defsubst ediff-file-name-sans-prefix (filename prefix)
    (save-match-data
!     (if (string-match (concat "^" (regexp-quote prefix)) filename)
        (substring filename (match-end 0))
        (concat "/null/" filename))))
  


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to