mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-22 18:35:09 +00:00
Default to PCRE syntax when reading .hgignore
* lisp/vc/vc-hg.el (vc-hg--slurp-hgignore-1): Default to the PCRE syntax (bug#26249).
This commit is contained in:
parent
9e1f45d98f
commit
f3662966c3
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user