From: Jim Blandy Date: Mon, 10 Apr 2017 02:52:09 +0000 (+0300) Subject: Default to PCRE syntax when reading .hgignore X-Git-Tag: emacs-26.0.90~521^2~662 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f3662966c3e8caded696dfd9f0e5d61666c4f886;p=emacs.git Default to PCRE syntax when reading .hgignore * lisp/vc/vc-hg.el (vc-hg--slurp-hgignore-1): Default to the PCRE syntax (bug#26249). --- 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))