]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix Bug#33524
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 17 Dec 2018 10:56:05 +0000 (11:56 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 18 Dec 2018 16:44:13 +0000 (17:44 +0100)
* lisp/progmodes/flymake-proc.el
(flymake-proc-create-temp-with-folder-structure):
Unquote file-name.  (Bug#33524)

lisp/progmodes/flymake-proc.el

index 4792a945308320798f9bc308f8b32dc8f35552ff..7916108a830d4e3726816a2fbd8e80cff6b85553 100644 (file)
@@ -854,7 +854,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))