diff options
| author | Chong Yidong | 2012-11-30 15:43:05 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-11-30 15:43:05 +0800 |
| commit | a8b733a51903ddcffcab727edd0f386a44a24313 (patch) | |
| tree | 3b7f256c3d7c98cbb2638b98e4da4b25c5b0dfe9 | |
| parent | 6fccd6e8b536a2e0d243a2aba31c34d7a422402b (diff) | |
| download | emacs-a8b733a51903ddcffcab727edd0f386a44a24313.tar.gz emacs-a8b733a51903ddcffcab727edd0f386a44a24313.zip | |
* vc/vc-git.el (vc-git-command): Disable the pager.
Fixes: debbugs:6137
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/vc/vc-git.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d2f0824e15e..5740d796f3e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change) | ||
| 2 | |||
| 3 | * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137). | ||
| 4 | |||
| 1 | 2012-11-30 Samuel Bronson <naesten@gmail.com> | 5 | 2012-11-30 Samuel Bronson <naesten@gmail.com> |
| 2 | 6 | ||
| 3 | * progmodes/grep.el (grep-compute-defaults): Do not pass the -e | 7 | * progmodes/grep.el (grep-compute-defaults): Do not pass the -e |
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 5d7cb366e82..08b48fa7b40 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el | |||
| @@ -1148,7 +1148,7 @@ This command shares argument histories with \\[rgrep] and \\[grep]." | |||
| 1148 | The difference to vc-do-command is that this function always invokes | 1148 | The difference to vc-do-command is that this function always invokes |
| 1149 | `vc-git-program'." | 1149 | `vc-git-program'." |
| 1150 | (apply 'vc-do-command (or buffer "*vc*") okstatus vc-git-program | 1150 | (apply 'vc-do-command (or buffer "*vc*") okstatus vc-git-program |
| 1151 | file-or-list flags)) | 1151 | file-or-list (cons "--no-pager" flags))) |
| 1152 | 1152 | ||
| 1153 | (defun vc-git--empty-db-p () | 1153 | (defun vc-git--empty-db-p () |
| 1154 | "Check if the git db is empty (no commit done yet)." | 1154 | "Check if the git db is empty (no commit done yet)." |