diff options
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/progmodes/grep.el | 6 | ||||
| -rw-r--r-- | lisp/vc/vc-git.el | 2 |
3 files changed, 14 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eef59e75ac8..5740d796f3e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 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 | |||
| 5 | 2012-11-30 Samuel Bronson <naesten@gmail.com> | ||
| 6 | |||
| 7 | * progmodes/grep.el (grep-compute-defaults): Do not pass the -e | ||
| 8 | flag to xargs, for compatibility with BSD xargs (Bug#11703). | ||
| 9 | |||
| 1 | 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com> | 10 | 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com> |
| 2 | 11 | ||
| 3 | * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot | 12 | * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot |
| @@ -11610,7 +11619,7 @@ | |||
| 11610 | * dynamic-setting.el (font-setting-change-default-font): Don't | 11619 | * dynamic-setting.el (font-setting-change-default-font): Don't |
| 11611 | change the default face if SET-FONT argument is non-nil (Bug#9982). | 11620 | change the default face if SET-FONT argument is non-nil (Bug#9982). |
| 11612 | 11621 | ||
| 11613 | 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change) | 11622 | 2012-01-29 Samuel Bronson <naesten@gmail.com> |
| 11614 | 11623 | ||
| 11615 | * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635). | 11624 | * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635). |
| 11616 | 11625 | ||
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index c056b0f4e26..b448b7b3032 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el | |||
| @@ -586,7 +586,7 @@ This function is called from `compilation-filter-hook'." | |||
| 586 | 'exec-plus) | 586 | 'exec-plus) |
| 587 | ((and | 587 | ((and |
| 588 | (grep-probe find-program `(nil nil nil ,null-device "-print0")) | 588 | (grep-probe find-program `(nil nil nil ,null-device "-print0")) |
| 589 | (grep-probe xargs-program `(nil nil nil "-0" "-e" "echo"))) | 589 | (grep-probe xargs-program `(nil nil nil "-0" "echo"))) |
| 590 | 'gnu) | 590 | 'gnu) |
| 591 | (t | 591 | (t |
| 592 | 'exec)))) | 592 | 'exec)))) |
| @@ -596,7 +596,7 @@ This function is called from `compilation-filter-hook'." | |||
| 596 | ;; Windows shells need the program file name | 596 | ;; Windows shells need the program file name |
| 597 | ;; after the pipe symbol be quoted if they use | 597 | ;; after the pipe symbol be quoted if they use |
| 598 | ;; forward slashes as directory separators. | 598 | ;; forward slashes as directory separators. |
| 599 | (format "%s . -type f -print0 | \"%s\" -0 -e %s" | 599 | (format "%s . -type f -print0 | \"%s\" -0 %s" |
| 600 | find-program xargs-program grep-command)) | 600 | find-program xargs-program grep-command)) |
| 601 | ((memq grep-find-use-xargs '(exec exec-plus)) | 601 | ((memq grep-find-use-xargs '(exec exec-plus)) |
| 602 | (let ((cmd0 (format "%s . -type f -exec %s" | 602 | (let ((cmd0 (format "%s . -type f -exec %s" |
| @@ -621,7 +621,7 @@ This function is called from `compilation-filter-hook'." | |||
| 621 | (format "%s " null-device) | 621 | (format "%s " null-device) |
| 622 | ""))) | 622 | ""))) |
| 623 | (cond ((eq grep-find-use-xargs 'gnu) | 623 | (cond ((eq grep-find-use-xargs 'gnu) |
| 624 | (format "%s . <X> -type f <F> -print0 | \"%s\" -0 -e %s" | 624 | (format "%s . <X> -type f <F> -print0 | \"%s\" -0 %s" |
| 625 | find-program xargs-program gcmd)) | 625 | find-program xargs-program gcmd)) |
| 626 | ((eq grep-find-use-xargs 'exec) | 626 | ((eq grep-find-use-xargs 'exec) |
| 627 | (format "%s . <X> -type f <F> -exec %s {} %s%s" | 627 | (format "%s . <X> -type f <F> -exec %s {} %s%s" |
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)." |