diff options
| author | Michael Albinus | 2014-11-13 16:26:51 +0100 |
|---|---|---|
| committer | Michael Albinus | 2014-11-15 17:52:14 +0100 |
| commit | 260cedec96d52993c3798c4e6d844fbf30b82a8b (patch) | |
| tree | 15cd5485e899f4306b6b44c47ad9288d7a73450c | |
| parent | 1040099b36b5df41453e7de9c9d9bf129c493c31 (diff) | |
| download | emacs-260cedec96d52993c3798c4e6d844fbf30b82a8b.tar.gz emacs-260cedec96d52993c3798c4e6d844fbf30b82a8b.zip | |
Backport: Fixes: debbugs:18940
* vc/vc-hg.el (vc-hg-state): Disable pager.
Conflicts:
lisp/ChangeLog
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/vc/vc-hg.el | 24 |
2 files changed, 21 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6cb3e7f490c..e9b3731aae9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,4 +1,9 @@ | |||
| 1 | 2014-10-28 Peder O. Klingenberg <peder@klingenberg.no> (tiny change) | 1 | 2014-10-28 Peder O. Klingenberg <peder@klingenberg.no> (tiny change) |
| 2 | 2014-11-13 Michael Albinus <michael.albinus@gmx.de> | ||
| 3 | |||
| 4 | * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940) | ||
| 5 | |||
| 6 | 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> | ||
| 2 | 7 | ||
| 3 | * mail/emacsbug.el (report-emacs-bug): Make a better guess at | 8 | * mail/emacsbug.el (report-emacs-bug): Make a better guess at |
| 4 | envelope-from when reporting through sendmail (bug#19054). | 9 | envelope-from when reporting through sendmail (bug#19054). |
diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el index 372504eb8f3..a66fb9f46f9 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))))))) |