branch: scratch/editorconfig-cc commit 62a1f3c44f44dcd2ee75dc900dccae12f84bf0b3 Author: 10sr <8.slas...@gmail.com> Commit: Stefan Monnier <monn...@iro.umontreal.ca>
Stop excluding remote files by default (#245) To exclude remote files again, add following to the init.el: (add-to-list 'editorconfig-exclude-regexps (eval-when-compile (rx string-start "/" (or "http" "https" "ftp" "sftp" "rsync" "ssh") ":"))) --- editorconfig.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/editorconfig.el b/editorconfig.el index 1ea235d87c..508020a75c 100644 --- a/editorconfig.el +++ b/editorconfig.el @@ -261,9 +261,7 @@ NOTE: Only the **buffer local** value of VARIABLE will be set." :type '(repeat (symbol :tag "Major Mode")) :group 'editorconfig) -(defcustom editorconfig-exclude-regexps - (list (eval-when-compile - (rx string-start (or "http" "https" "ftp" "sftp" "rsync") ":"))) +(defcustom editorconfig-exclude-regexps () "List of regexp for buffer filenames `editorconfig-mode-apply' will not run. When variable `buffer-file-name' matches any of the regexps, then