changeset 238:3d5c595c229e

emacs: slightly better window-width resizing behavior
author Lucas Bergman <slb@google.com>
date Thu, 24 Feb 2011 09:21:57 -0600
parents b9f4d059eb69
children b742c194dba3
files .elisp/settings/50.localfuncs.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.elisp/settings/50.localfuncs.el
+++ b/.elisp/settings/50.localfuncs.el
@@ -127,5 +127,5 @@ Interactively, if no argument is given, 
 columns wide.
 "
   (interactive "p")
-  (let* ((cols (if (or (not columns) (> 0 columns)) 80 columns)))
+  (let* ((cols (if (or (not columns) (>= 0 columns)) 80 columns)))
     (shrink-window-horizontally (- (window-width) cols))))