emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/ediff-ptch.el


From: Michael Kifer
Subject: [Emacs-diffs] Changes to emacs/lisp/ediff-ptch.el
Date: Sun, 10 Jul 2005 14:46:28 -0400

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))))
  




reply via email to

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