--- a/.emacs-my Sun Aug 12 11:17:25 2012 +0300
+++ b/.emacs-my Sun Aug 12 15:24:33 2012 +0300
@@ -2358,6 +2358,20 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Save and restore my buffers every time.
+(setq
+ desktop-globals-to-save
+ (append
+ '((file-name-history . 100)
+ (compile-history . 100)
+ (command-history . 100)
+ (extended-command-history . 100)
+ (shell-command-history . 100)
+ (query-replace-history . 100)
+ (regexp-history . 100)
+ (grep-history . 100)
+ (minibuffer-history . 100))
+ desktop-globals-to-save))
+
(setq desktop-base-file-name ".emacs.desktop")
(setq desktop-base-lock-name ".emacs.desktop.lock")
(when (eq system-type 'cygwin)