diff lisp/packages/man.el @ 82:6a378aca36af r20-0b91

Import from CVS: tag r20-0b91
author cvs
date Mon, 13 Aug 2007 09:07:36 +0200
parents 1ce6082ce73f
children 364816949b59
line wrap: on
line diff
--- a/lisp/packages/man.el	Mon Aug 13 09:06:45 2007 +0200
+++ b/lisp/packages/man.el	Mon Aug 13 09:07:36 2007 +0200
@@ -610,7 +610,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 ()