Commit 763237c4 authored by Sam Steingold's avatar Sam Steingold
Browse files

(Man-getpage-in-background): When running under a window-system, ignore $MANWIDTH and $COLUMNS.

parent 92a24ea8
2011-12-13 Sam Steingold <>
* man.el (Man-getpage-in-background): When running under a
window-system, ignore $MANWIDTH and $COLUMNS.
2011-12-15 Kenichi Handa <>
* language/ethio-util.el: Change coding tag to utf-8-emacs.
......@@ -933,7 +933,8 @@ Return the buffer in which the manpage will appear."
;; minal (using an ioctl(2) if available, the value of
;; $COLUMNS, or falling back to 80 characters if nei-
;; ther is available).
(unless (or (getenv "MANWIDTH") (getenv "COLUMNS"))
(when (or window-system
(not (or (getenv "MANWIDTH") (getenv "COLUMNS"))))
;; This isn't strictly correct, since we don't know how
;; the page will actually be displayed, but it seems
;; reasonable.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment