summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-09-17 21:42:43 -0400
committerGlenn Morris <rgm@gnu.org>2013-09-17 21:42:43 -0400
commitec9177ba76f846efb7008547632adbe9a5d913ec (patch)
tree1120fd681a408bf3d88f24232ca7fe0887903b9f /lisp/textmodes
parent9f25cb774999615410049cbe9382537e7e6ef074 (diff)
downloademacs-ec9177ba76f846efb7008547632adbe9a5d913ec.tar.gz
* lisp/textmodes/two-column.el: Make 2C-split work for --without-x.
(scroll-bar-columns): Autoload. (top-level): Require fringe when compiling.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/two-column.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/textmodes/two-column.el b/lisp/textmodes/two-column.el
index 23e90552096..dcc664cc7f2 100644
--- a/lisp/textmodes/two-column.el
+++ b/lisp/textmodes/two-column.el
@@ -349,6 +349,9 @@ accepting the proposed default buffer.
(if b1 (setq 2C-window-width (- (frame-width) b1)))
(2C-two-columns b2)))
+(autoload 'scroll-bar-columns "scroll-bar")
+(eval-when-compile
+ (require 'fringe)) ; fringe-columns defsubst
;;;###autoload
(defun 2C-split (arg)