comparison .elisp/textmate.el @ 438:13c11127a79e

textmate.el: make sure hg is run with HGPLAIN Otherwise over ssh (with tramp) with pager enabled things get confused.
author Augie Fackler <raf@durin42.com>
date Tue, 29 Nov 2016 13:34:05 -0500
parents b460b464f9d2
children f86c1048a46d
comparison
equal deleted inserted replaced
437:b460b464f9d2 438:13c11127a79e
393 (shell-command-to-string 393 (shell-command-to-string
394 "git ls-files") "\n" t)) 394 "git ls-files") "\n" t))
395 ((string= type "hg") 395 ((string= type "hg")
396 (split-string 396 (split-string
397 (shell-command-to-string 397 (shell-command-to-string
398 "hg locate 'set:not(ignored() or removed() or unknown())'") 398 "HGPLAIN=1 hg locate 'set:not(ignored() or removed() or unknown())'")
399 "\n" t)) 399 "\n" t))
400 ((string= type "unknown") (textmate-cached-project-files-find root)) 400 ((string= type "unknown") (textmate-cached-project-files-find root))
401 ))) 401 )))
402 402
403 (defun textmate-project-files-find (root) 403 (defun textmate-project-files-find (root)