From f3662966c3e8caded696dfd9f0e5d61666c4f886 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 10 Apr 2017 05:52:09 +0300 Subject: [PATCH] Default to PCRE syntax when reading .hgignore * lisp/vc/vc-hg.el (vc-hg--slurp-hgignore-1): Default to the PCRE syntax (bug#26249). --- lisp/vc/vc-hg.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el index 8a2b07718cf..e10daad72f0 100644 --- a/lisp/vc/vc-hg.el +++ b/lisp/vc/vc-hg.el @@ -826,7 +826,7 @@ if we don't understand a construct, we signal prefix))) (defun vc-hg--slurp-hgignore-1 (hgignore prefix) - (let ((default-syntax 'vc-hg--hgignore-add-glob)) + (let ((default-syntax 'vc-hg--hgignore-add-pcre)) (with-temp-buffer (let ((attr (file-attributes hgignore))) (when attr (insert-file-contents hgignore)) -- 2.39.2