Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a85cf0d9
Commit
a85cf0d9
authored
Nov 13, 2014
by
Michael Albinus
Browse files
Fixes: debbugs:18940
* vc/vc-hg.el (vc-hg-state): Disable pager.
parent
7148318a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
8 deletions
+20
-8
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/vc/vc-hg.el
lisp/vc/vc-hg.el
+16
-8
No files found.
lisp/ChangeLog
View file @
a85cf0d9
2014-11-13 Michael Albinus <michael.albinus@gmx.de>
* vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
* net/eww.el(eww-form-file(defface)): New defface of file upload form.
...
...
lisp/vc/vc-hg.el
View file @
a85cf0d9
...
...
@@ -207,14 +207,22 @@ highlighting the Log View buffer."
;; Ignore all errors.
(
let
((
process-environment
;; Avoid localization of messages so we
;; can parse the output.
(
append
(
list
"TERM=dumb"
"LANGUAGE=C"
)
process-environment
)))
(
process-file
vc-hg-program
nil
t
nil
"--config"
"alias.status=status"
"--config"
"defaults.status="
"status"
"-A"
(
file-relative-name
file
)))
;; can parse the output. Disable pager.
(
append
(
list
"TERM=dumb"
"LANGUAGE=C"
"HGPLAIN=1"
)
process-environment
)))
(
if
(
file-remote-p
file
)
(
process-file
"env"
nil
t
nil
"HGPLAIN=1"
vc-hg-program
"--config"
"alias.status=status"
"--config"
"defaults.status="
"status"
"-A"
(
file-relative-name
file
))
(
process-file
vc-hg-program
nil
t
nil
"--config"
"alias.status=status"
"--config"
"defaults.status="
"status"
"-A"
(
file-relative-name
file
))))
;; Some problem happened. E.g. We can't find an `hg'
;; executable.
(
error
nil
)))))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment