Bind 'yes-or-no-p' to 'y-or-n-p'.
--- 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)