diff lisp/packages/man.el @ 26:441bb1e64a06 r19-15b96

Import from CVS: tag r19-15b96
author cvs
date Mon, 13 Aug 2007 08:51:32 +0200
parents 4103f0995bd7
children 131b0175ea99
line wrap: on
line diff
--- a/lisp/packages/man.el	Mon Aug 13 08:51:05 2007 +0200
+++ b/lisp/packages/man.el	Mon Aug 13 08:51:32 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 ()