mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-25 19:11:56 +00:00
(Man-getpage-in-background): Force recent `man's to output
escape sequences even when stdout is not a tty. (Bug#1142)
This commit is contained in:
parent
2d7752a0d3
commit
3d56260a0b
@ -1,3 +1,8 @@
|
||||
2008-10-16 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* man.el (Man-getpage-in-background): Force recent `man's to output
|
||||
escape sequences even when stdout is not a tty. (Bug#1142)
|
||||
|
||||
2008-10-15 Teodor Zlatanov <tzz@lifelogs.com>
|
||||
|
||||
* international/mule-conf.el: Add `utf8' and `UTF8' as
|
||||
|
@ -829,6 +829,10 @@ all sections related to a subject, put something appropriate into the
|
||||
(Man-width (frame-width))
|
||||
((window-width))))))
|
||||
(setenv "GROFF_NO_SGR" "1")
|
||||
;; Since man-db 2.4.3-1, man writes plain text with no escape
|
||||
;; sequences when stdout is not a tty. In 2.5.0, the following
|
||||
;; env-var was added to allow control of this (see Debian Bug#340673).
|
||||
(setenv "MAN_KEEP_FORMATTING" "1")
|
||||
(if (fboundp 'start-process)
|
||||
(set-process-sentinel
|
||||
(start-process manual-program buffer
|
||||
|
Loading…
Reference in New Issue
Block a user