diff options
| author | Michael Albinus | 2014-11-13 16:26:51 +0100 |
|---|---|---|
| committer | Michael Albinus | 2014-11-13 16:26:51 +0100 |
| commit | a85cf0d9fe03713cfae31415208cbd49d3227ae1 (patch) | |
| tree | 7f7c6f84b512567ab3f8f893d9d21ed7e4c16686 | |
| parent | 7148318abc451ae930d669e6e37af8cb7c5aca75 (diff) | |
| download | emacs-a85cf0d9fe03713cfae31415208cbd49d3227ae1.tar.gz emacs-a85cf0d9fe03713cfae31415208cbd49d3227ae1.zip | |
Fixes: debbugs:18940
* vc/vc-hg.el (vc-hg-state): Disable pager.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/vc/vc-hg.el | 24 |
2 files changed, 20 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c70f56f2f99..6db9f206d15 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-11-13 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940) | ||
| 4 | |||
| 1 | 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> | 5 | 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> |
| 2 | 6 | ||
| 3 | * net/eww.el(eww-form-file(defface)): New defface of file upload form. | 7 | * net/eww.el(eww-form-file(defface)): New defface of file upload form. |
diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el index df61006ad51..4f13914aa2d 100644 --- a/lisp/vc/vc-hg.el +++ b/lisp/vc/vc-hg.el | |||
| @@ -207,14 +207,22 @@ highlighting the Log View buffer." | |||
| 207 | ;; Ignore all errors. | 207 | ;; Ignore all errors. |
| 208 | (let ((process-environment | 208 | (let ((process-environment |
| 209 | ;; Avoid localization of messages so we | 209 | ;; Avoid localization of messages so we |
| 210 | ;; can parse the output. | 210 | ;; can parse the output. Disable pager. |
| 211 | (append (list "TERM=dumb" "LANGUAGE=C") | 211 | (append |
| 212 | process-environment))) | 212 | (list "TERM=dumb" "LANGUAGE=C" "HGPLAIN=1") |
| 213 | (process-file | 213 | process-environment))) |
| 214 | vc-hg-program nil t nil | 214 | (if (file-remote-p file) |
| 215 | "--config" "alias.status=status" | 215 | (process-file |
| 216 | "--config" "defaults.status=" | 216 | "env" nil t nil |
| 217 | "status" "-A" (file-relative-name file))) | 217 | "HGPLAIN=1" vc-hg-program |
| 218 | "--config" "alias.status=status" | ||
| 219 | "--config" "defaults.status=" | ||
| 220 | "status" "-A" (file-relative-name file)) | ||
| 221 | (process-file | ||
| 222 | vc-hg-program nil t nil | ||
| 223 | "--config" "alias.status=status" | ||
| 224 | "--config" "defaults.status=" | ||
| 225 | "status" "-A" (file-relative-name file)))) | ||
| 218 | ;; Some problem happened. E.g. We can't find an `hg' | 226 | ;; Some problem happened. E.g. We can't find an `hg' |
| 219 | ;; executable. | 227 | ;; executable. |
| 220 | (error nil))))))) | 228 | (error nil))))))) |