diff lisp/packages/man.el @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children b82b59fe008d
line wrap: on
line diff
--- a/lisp/packages/man.el	Mon Aug 13 08:45:53 2007 +0200
+++ b/lisp/packages/man.el	Mon Aug 13 08:46:35 2007 +0200
@@ -616,8 +616,9 @@
   ;; This looks slightly better if they only
   ;; 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))
+  (if (featurep 'scrollbar)
+      ;; turn off horizontal scrollbars in this buffer
+      (set-specifier scrollbar-height (cons (current-buffer) 0)))
   (run-hooks 'Manual-mode-hook))
 
 (defun Manual-last-page ()