diff --git a/iedit.el b/iedit.el index 8fba96b..ba7c34b 100644 --- a/iedit.el +++ b/iedit.el @@ -2,10 +2,10 @@ ;; Copyright (C) 2010, 2011, 2012 Victor Ren -;; Time-stamp: <2012-07-03 22:34:00 Victor Ren> +;; Time-stamp: <2012-07-04 10:07:47 Victor Ren> ;; Author: Victor Ren ;; Keywords: occurrence region simultaneous rectangle refactoring -;; Version: 0.95 +;; Version: 0.97 ;; X-URL: http://www.emacswiki.org/emacs/Iedit ;; Compatibility: GNU Emacs: 22.x, 23.x, 24.x @@ -365,6 +365,9 @@ This is like `describe-bindings', but displays only Iedit keys." (or (assq 'iedit-mode minor-mode-map-alist) (setq minor-mode-map-alist (cons (cons 'iedit-mode iedit-mode-map) minor-mode-map-alist))) +;; Avoid to restore Iedit mode when restoring desktop +(add-to-list 'desktop-minor-mode-handlers + '(iedit-mode . nil)) ;;;###autoload (defun iedit-mode (&optional arg)