]> code.delx.au - gnu-emacs-elpa/commitdiff
Work around debbugs.gnu.org/18605
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 2 Oct 2014 12:29:14 +0000 (16:29 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 2 Oct 2014 12:29:14 +0000 (16:29 +0400)
#25

diff-hl-dired.el

index f1effda0052e48ffe21558718fb04fbf1411efe0..8b7ef3f20a387561c6b7b3568445a77d83a03be0 100644 (file)
            (with-current-buffer buffer
              (dolist (entry entries)
                (cl-destructuring-bind (file state &rest) entry
+                 ;; Work around http://debbugs.gnu.org/18605
+                 (setq file (replace-regexp-in-string "\\` " "" file))
                  (when (eq state 'ignored)
                    (push (cons (directory-file-name file)
                                'ignored) entries-alist))))