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 <sds@gnu.org>
* man.el (Man-getpage-in-background): When running under a
window-system, ignore $MANWIDTH and $COLUMNS.
2011-12-15 Kenichi Handa <handa@m17n.org> 2011-12-15 Kenichi Handa <handa@m17n.org>
* language/ethio-util.el: Change coding tag to utf-8-emacs. * language/ethio-util.el: Change coding tag to utf-8-emacs.
......
...@@ -933,7 +933,8 @@ Return the buffer in which the manpage will appear." ...@@ -933,7 +933,8 @@ Return the buffer in which the manpage will appear."
;; minal (using an ioctl(2) if available, the value of ;; minal (using an ioctl(2) if available, the value of
;; $COLUMNS, or falling back to 80 characters if nei- ;; $COLUMNS, or falling back to 80 characters if nei-
;; ther is available). ;; 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 ;; This isn't strictly correct, since we don't know how
;; the page will actually be displayed, but it seems ;; the page will actually be displayed, but it seems
;; reasonable. ;; 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