1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-26 19:18:50 +00:00

* calculator.el (calculator): Don't bind split-window-keep-point (Bug#5674).

This commit is contained in:
Chong Yidong 2010-03-06 13:23:23 -05:00
parent 4c83ed3d48
commit a4e32226eb
2 changed files with 6 additions and 2 deletions

View File

@ -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.

View File

@ -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