diff options
| author | Sam Steingold | 2011-12-15 22:14:07 -0500 |
|---|---|---|
| committer | Sam Steingold | 2011-12-15 22:14:07 -0500 |
| commit | 763237c468b08353bf89a6fb63a0ad75be7892f8 (patch) | |
| tree | f94277a1d2c9ff7c3ebe7b3333c65f90a9cde7dd /lisp | |
| parent | 92a24ea80eaebfdcebab8577d322ca67d4e1d236 (diff) | |
| download | emacs-763237c468b08353bf89a6fb63a0ad75be7892f8.tar.gz emacs-763237c468b08353bf89a6fb63a0ad75be7892f8.zip | |
(Man-getpage-in-background): When running under a window-system, ignore $MANWIDTH and $COLUMNS.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/man.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e718222e01b..a07d4fa2cde 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-12-13 Sam Steingold <sds@gnu.org> | ||
| 2 | |||
| 3 | * man.el (Man-getpage-in-background): When running under a | ||
| 4 | window-system, ignore $MANWIDTH and $COLUMNS. | ||
| 5 | |||
| 1 | 2011-12-15 Kenichi Handa <handa@m17n.org> | 6 | 2011-12-15 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * language/ethio-util.el: Change coding tag to utf-8-emacs. | 8 | * language/ethio-util.el: Change coding tag to utf-8-emacs. |
diff --git a/lisp/man.el b/lisp/man.el index aeba3327c40..3cdbdddb044 100644 --- a/lisp/man.el +++ b/lisp/man.el | |||
| @@ -933,7 +933,8 @@ Return the buffer in which the manpage will appear." | |||
| 933 | ;; minal (using an ioctl(2) if available, the value of | 933 | ;; minal (using an ioctl(2) if available, the value of |
| 934 | ;; $COLUMNS, or falling back to 80 characters if nei- | 934 | ;; $COLUMNS, or falling back to 80 characters if nei- |
| 935 | ;; ther is available). | 935 | ;; ther is available). |
| 936 | (unless (or (getenv "MANWIDTH") (getenv "COLUMNS")) | 936 | (when (or window-system |
| 937 | (not (or (getenv "MANWIDTH") (getenv "COLUMNS")))) | ||
| 937 | ;; This isn't strictly correct, since we don't know how | 938 | ;; This isn't strictly correct, since we don't know how |
| 938 | ;; the page will actually be displayed, but it seems | 939 | ;; the page will actually be displayed, but it seems |
| 939 | ;; reasonable. | 940 | ;; reasonable. |