From a4e32226ebee93d94744cd9149a73e6b59785cd9 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 6 Mar 2010 13:23:23 -0500 Subject: [PATCH] * calculator.el (calculator): Don't bind split-window-keep-point (Bug#5674). --- lisp/ChangeLog | 5 +++++ lisp/calculator.el | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 512e83999ab..d3692e6ac7f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-03-06 Chong Yidong + + * calculator.el (calculator): Don't bind split-window-keep-point + (Bug#5674). + 2010-03-06 Stefan Monnier * vc-git.el: Re-flow to fit into 80 columns. diff --git a/lisp/calculator.el b/lisp/calculator.el index 015fb4cd763..d1b9b517e5f 100644 --- a/lisp/calculator.el +++ b/lisp/calculator.el @@ -724,8 +724,7 @@ See the documentation for `calculator-mode' for more information." (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 -- 2.39.5