On Debian Emacs 22.2.1 'split-height-threshold' MUST be number.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 22 Feb 2011 20:20:55 +0200
changeset 582 1f59c7449143
parent 581 5e3a485408f4
child 583 a9e5bfad6dd5
On Debian Emacs 22.2.1 'split-height-threshold' MUST be number.
.emacs-my
--- a/.emacs-my	Tue Feb 22 00:40:24 2011 +0200
+++ b/.emacs-my	Tue Feb 22 20:20:55 2011 +0200
@@ -126,7 +126,7 @@
   (when (>= emacs-major-version 22) (tooltip-mode -1))
   )
 
-(when window-system
+(when (and window-system (>= emacs-major-version 23))
   ;; Prefer horizontal windows splitting.
   (setq split-height-threshold nil)
   (setq split-width-threshold nil)