Permalink
Browse files

Avoid to restore Iedit mode when restoring desktop

(add-to-list 'desktop-minor-mode-handlers
             '(iedit-mode . nil))
  • Loading branch information...
victorhge committed Jul 4, 2012
1 parent 307262b commit c5ab2c593d38274b0ea676c2f649c3385b2b6de1
Showing with 5 additions and 2 deletions.
  1. +5 −2 iedit.el
View
@@ -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 <victorhge@gmail.com>
;; 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)

0 comments on commit c5ab2c5

Please sign in to comment.