From c685e4c92909b2ae0140953417e0d856eb34ba33 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 8 Dec 2016 18:33:26 +0100 Subject: [PATCH] ; Fix last patch --- lisp/files.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/files.el b/lisp/files.el index ba6004686e7..6f6e8687f52 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -6923,7 +6923,7 @@ only these files will be asked to be saved." (save-match-data (while (consp file-arg-indices) (let ((pair (nthcdr (car file-arg-indices) arguments))) - (and (car pair) (setcar pair (file-name-unquote 2)))) + (and (car pair) (setcar pair (file-name-unquote (car pair))))) (setq file-arg-indices (cdr file-arg-indices)))) (pcase method (`identity (car arguments)) @@ -6935,7 +6935,7 @@ only these files will be asked to be saved." (when (and visit buffer-file-name) (setq buffer-file-name (file-name-quote buffer-file-name)))))) (`unquote-then-quote - (let ((buffer-file-name (substring buffer-file-name 2))) + (let ((buffer-file-name (file-name-unquote buffer-file-name))) (apply operation arguments))) (_ (apply operation arguments))))) -- 2.39.2