* lisp/textmodes/two-column.el: Make 2C-split work for --without-x.
authorGlenn Morris <rgm@gnu.org>
Wed, 18 Sep 2013 01:42:43 +0000 (21:42 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 18 Sep 2013 01:42:43 +0000 (21:42 -0400)
(scroll-bar-columns): Autoload.
(top-level): Require fringe when compiling.

lisp/ChangeLog
lisp/textmodes/two-column.el

index 7b2ed1f..a4f1503 100644 (file)
@@ -1,3 +1,9 @@
+2013-09-18  Glenn Morris  <rgm@gnu.org>
+
+       * 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  <sdl.web@gmail.com>
 
        * subr.el (add-hook): Robustify to handle closure as well.
index 23e9055..dcc664c 100644 (file)
@@ -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)