Bind 'yes-or-no-p' to 'y-or-n-p'.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 31 Aug 2011 20:41:09 +0300
changeset 686 563751ecd385
parent 685 dccfef291718
child 688 5ddce6e50379
Bind 'yes-or-no-p' to 'y-or-n-p'.
.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)