diff options
| author | Kai Großjohann | 2003-04-07 09:32:39 +0000 |
|---|---|---|
| committer | Kai Großjohann | 2003-04-07 09:32:39 +0000 |
| commit | 2c17111abc2e31b9df9d5a418252912234fdf149 (patch) | |
| tree | 6f51537b5794c9ab6dbbc8cf1dae1aadb460b699 | |
| parent | 333c5fc5b9b3ad85a2c906c8e2e3a548ec04e49e (diff) | |
| download | emacs-2c17111abc2e31b9df9d5a418252912234fdf149.tar.gz emacs-2c17111abc2e31b9df9d5a418252912234fdf149.zip | |
(Man-getpage-in-background): Set GROFF_NO_SGR env var in
all cases, whether or not start-process is fboundp.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/man.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c0df194b86e..49066a27d60 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-04-07 Kai Gro,A_(Bjohann <kai.grossjohann@uni-duisburg.de> | ||
| 2 | |||
| 3 | * man.el (Man-getpage-in-background): Set GROFF_NO_SGR env var in | ||
| 4 | all cases, whether or not start-process is fboundp. | ||
| 5 | |||
| 1 | 2003-04-06 Richard M. Stallman <rms@gnu.org> | 6 | 2003-04-06 Richard M. Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * calendar/cal-menu.el (cal-menu-update): Use easy-menu-create-menu | 8 | * calendar/cal-menu.el (cal-menu-update): Use easy-menu-create-menu |
diff --git a/lisp/man.el b/lisp/man.el index a6244b2d0f0..af69340aba3 100644 --- a/lisp/man.el +++ b/lisp/man.el | |||
| @@ -667,12 +667,12 @@ all sections related to a subject, put something appropriate into the | |||
| 667 | ;; the page will actually be displayed, but it seems | 667 | ;; the page will actually be displayed, but it seems |
| 668 | ;; reasonable. | 668 | ;; reasonable. |
| 669 | (setenv "COLUMNS" (number-to-string (frame-width))))) | 669 | (setenv "COLUMNS" (number-to-string (frame-width))))) |
| 670 | (setenv "GROFF_NO_SGR" "1") | ||
| 670 | (if (fboundp 'start-process) | 671 | (if (fboundp 'start-process) |
| 671 | (set-process-sentinel | 672 | (set-process-sentinel |
| 672 | (start-process manual-program buffer "sh" "-c" | 673 | (start-process manual-program buffer "sh" "-c" |
| 673 | (format (Man-build-man-command) man-args)) | 674 | (format (Man-build-man-command) man-args)) |
| 674 | 'Man-bgproc-sentinel) | 675 | 'Man-bgproc-sentinel) |
| 675 | (setenv "GROFF_NO_SGR" "1") | ||
| 676 | (let ((exit-status | 676 | (let ((exit-status |
| 677 | (call-process shell-file-name nil (list buffer nil) nil "-c" | 677 | (call-process shell-file-name nil (list buffer nil) nil "-c" |
| 678 | (format (Man-build-man-command) man-args))) | 678 | (format (Man-build-man-command) man-args))) |