# HG changeset patch # User Oleksandr Gavenko # Date 1314812469 -10800 # Node ID 563751ecd385004694b99244333c5bebe7322192 # Parent dccfef291718558eb0e664a199e335953a99e3fa Bind 'yes-or-no-p' to 'y-or-n-p'. diff -r dccfef291718 -r 563751ecd385 .emacs-my --- a/.emacs-my Wed Aug 31 20:35:50 2011 +0300 +++ b/.emacs-my Wed Aug 31 20:41:09 2011 +0300 @@ -227,12 +227,19 @@ (setq cursor-type 'box) ; box, hollow, bar, hbar ;;(setq blink-matching-delay 0.01) (blink-cursor-mode 1) + (setq use-file-dialog t) + (setq use-dialog-box t) ;; (set-face-font 'default "7x14") ) ;; See what I am typing immediately (for keystroke in minibuffer). (setq echo-keystrokes 0.2) +(fset 'yes-or-no-p 'y-or-n-p) + +(when (boundp 'confirm-kill-emacs) + (setq confirm-kill-emacs 'y-or-n-p)) + ;;; ---------------------------------------------------------------- (message "silent runing") @@ -305,9 +312,6 @@ ;;; ---------------------------------------------------------------- (message "standart/general settings") -(when (boundp 'confirm-kill-emacs) - (setq confirm-kill-emacs 'y-or-n-p)) - ;; Try to speed things up, especially in VM. (setq gc-cons-threshold 2000000)