# HG changeset patch # User Oleksandr Gavenko # Date 1298315367 -7200 # Node ID 66918a26149fcd61b9f12a67b0dd88074e0afebd # Parent 259fabfae56eabc3a7df514b68b7ec4cad7d1e98# Parent d24848aec7d131eb05788c5a28441cc3b9027888 merged diff -r d24848aec7d1 -r 66918a26149f .emacs-autogen.sh --- a/.emacs-autogen.sh Sun Feb 20 16:05:14 2011 +0200 +++ b/.emacs-autogen.sh Mon Feb 21 21:09:27 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 d24848aec7d1 -r 66918a26149f .emacs-my --- a/.emacs-my Sun Feb 20 16:05:14 2011 +0200 +++ b/.emacs-my Mon Feb 21 21:09:27 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)