diff lisp/packages/man.el @ 104:cf808b4c4290 r20-1b4

Import from CVS: tag r20-1b4
author cvs
date Mon, 13 Aug 2007 09:16:51 +0200
parents 4be1180a9e89
children cca96a509cfe
line wrap: on
line diff
--- a/lisp/packages/man.el	Mon Aug 13 09:15:51 2007 +0200
+++ b/lisp/packages/man.el	Mon Aug 13 09:16:51 2007 +0200
@@ -259,7 +259,8 @@
   ;; overran by a couple of chars.
   (setq truncate-lines t)
   ;; turn off horizontal scrollbars in this buffer
-  (set-specifier scrollbar-height (cons (current-buffer) 0))
+  (when (featurep 'scrollbar)
+    (set-specifier scrollbar-height (cons (current-buffer) 0)))
   (run-hooks 'Manual-mode-hook))
 
 (defun Manual-last-page ()