# HG changeset patch # User Oleksandr Gavenko # Date 1298229086 -7200 # Node ID 259fabfae56eabc3a7df514b68b7ec4cad7d1e98 # Parent ead98b9f85c310a94678193d54358eb6f3f7633e# Parent d2730823e23f59cf6ba14b8555c795d2e174b28c merged diff -r ead98b9f85c3 -r 259fabfae56e .emacs-autogen.sh --- a/.emacs-autogen.sh Wed Feb 09 15:20:49 2011 +0200 +++ b/.emacs-autogen.sh Sun Feb 20 21:11:26 2011 +0200 @@ -7,12 +7,16 @@ cfg=$1 -if which aspell; then +if command -v ispell; then + echo >>$cfg + echo "(setq-default ispell-program-name \"ispell\")" >>$cfg + if [ -e /etc/debian_version ]; then + echo "(setq-default ispell-local-dictionary \"british\")" >>$cfg + else + echo "(setq-default ispell-local-dictionary \"default\")" >>$cfg + fi +elif command -v aspell; then echo >>$cfg echo "(setq-default ispell-program-name \"aspell\")" >>$cfg echo "(setq-default ispell-local-dictionary \"english\")" >>$cfg -elif which ispell; then - echo >>$cfg - echo "(setq-default ispell-program-name \"ispell\")" >>$cfg - echo "(setq-default ispell-local-dictionary \"default\")" >>$cfg fi diff -r ead98b9f85c3 -r 259fabfae56e .emacs-my --- a/.emacs-my Wed Feb 09 15:20:49 2011 +0200 +++ b/.emacs-my Sun Feb 20 21:11:26 2011 +0200 @@ -126,6 +126,11 @@ (when (>= emacs-major-version 22) (tooltip-mode -1)) ) +(when window-system + ;; Prefer horizontal windows splitting. + (setq split-height-threshold 15) + ) + (setq frame-title-format "Emacs - %b") (setq default-header-line-format nil)