Fix Bug#33524

* lisp/progmodes/flymake-proc.el
(flymake-proc-create-temp-with-folder-structure):
Unquote file-name.  (Bug#33524)
This commit is contained in:
Michael Albinus 2018-12-17 11:56:05 +01:00
parent 3e9ecaec3b
commit 09a6cc4778

View file

@ -874,7 +874,7 @@ can also be executed interactively independently of
(unless (stringp file-name)
(error "Invalid file-name"))
(let* ((dir (file-name-directory file-name))
(let* ((dir (file-name-directory (file-name-unquote file-name)))
;; Not sure what this slash-pos is all about, but I guess it's just
;; trying to remove the leading / of absolute file names.
(slash-pos (string-match "/" dir))