]> 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>
Mon, 17 Dec 2018 10:56:05 +0000 (11:56 +0100)
* lisp/progmodes/flymake-proc.el
(flymake-proc-create-temp-with-folder-structure):
Unquote file-name.  (Bug#33524)

lisp/progmodes/flymake-proc.el

index 8600be9b97c033784bd06978e08f3bf47fe7719a..e969c5d99208de0b99de36a6ccd6c192274832b0 100644 (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))