Solve annoying "Icon" file rendering issue with ECB

...by simply not displaying that file.
This commit is contained in:
2016-01-31 20:21:24 +00:00
parent 27ef796927
commit 652bc3dab1

View File

@@ -30,6 +30,16 @@
("~" "~")
("/" "/"))))
;; Add "^Icon$" as a exclude to the default sources. Dropbox uses "Icon" files
;; with some weird unprintable character at the end of the filename to customize
;; the folder icon. ECB however errors out when trying to render this file,
;; hence we're no longer displaying it at all.
(setq ecb-source-file-regexps
(quote
((".*"
("\\(^\\(\\.\\|#\\)\\|\\(~$\\|\\.\\(elc\\|obj\\|o\\|class\\|lib\\|dll\\|a\\|so\\|cache\\)$\\)\\)" "^Icon$")
("^\\.\\(emacs\\|gnus\\)$")))))
(if window-system (ecb-activate))
(provide 'siren-ecb)