emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master f366296: Default to PCRE syntax when reading .hgign


From: Dmitry Gutov
Subject: [Emacs-diffs] master f366296: Default to PCRE syntax when reading .hgignore
Date: Sun, 9 Apr 2017 22:52:55 -0400 (EDT)

branch: master
commit f3662966c3e8caded696dfd9f0e5d61666c4f886
Author: Jim Blandy <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    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 8a2b077..e10daad 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]