summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/flymake-proc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/flymake-proc.el b/lisp/progmodes/flymake-proc.el
index 4792a945308..7916108a830 100644
--- a/lisp/progmodes/flymake-proc.el
+++ b/lisp/progmodes/flymake-proc.el
@@ -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))