changeset 107342:176028ab9fc6

* calculator.el (calculator): Don't bind split-window-keep-point (Bug#5674).
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 06 Mar 2010 13:23:23 -0500
parents 8bc19ba3da90
children d4567b4f2db3
files lisp/ChangeLog lisp/calculator.el
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Mar 05 23:05:47 2010 -0500
+++ b/lisp/ChangeLog	Sat Mar 06 13:23:23 2010 -0500
@@ -1,3 +1,8 @@
+2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
+
+	* calculator.el (calculator): Don't bind split-window-keep-point
+	(Bug#5674).
+
 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* vc-git.el: Re-flow to fit into 80 columns.
--- a/lisp/calculator.el	Fri Mar 05 23:05:47 2010 -0500
+++ b/lisp/calculator.el	Sat Mar 06 13:23:23 2010 -0500
@@ -724,8 +724,7 @@
     (progn
       (cond
         ((not (get-buffer-window calculator-buffer))
-         (let ((split-window-keep-point nil)
-               (window-min-height 2))
+         (let ((window-min-height 2))
            ;; maybe leave two lines for our window because of the normal
            ;; `raised' modeline in Emacs 21
            (select-window