From ec9177ba76f846efb7008547632adbe9a5d913ec Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 17 Sep 2013 21:42:43 -0400 Subject: [PATCH] * lisp/textmodes/two-column.el: Make 2C-split work for --without-x. (scroll-bar-columns): Autoload. (top-level): Require fringe when compiling. --- lisp/ChangeLog | 6 ++++++ lisp/textmodes/two-column.el | 3 +++ 2 files changed, 9 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7b2ed1fe6a..a4f150317e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2013-09-18 Glenn Morris + + * textmodes/two-column.el: Make 2C-split work for --without-x. + (scroll-bar-columns): Autoload. + (top-level): Require fringe when compiling. + 2013-09-18 Leo Liu * subr.el (add-hook): Robustify to handle closure as well. diff --git a/lisp/textmodes/two-column.el b/lisp/textmodes/two-column.el index 23e9055209..dcc664cc7f 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) -- 2.20.1