emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Switching from (ido-mode 'both) to (ido-mode 'buffer) doesn'


From: Kim F. Storm
Subject: Re: [PATCH] Switching from (ido-mode 'both) to (ido-mode 'buffer) doesn't work
Date: Tue, 14 Jun 2005 17:09:29 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Daniel Brockman <address@hidden> writes:

> I sent this patch over three weeks ago, but didn't get any response.
> Kim, could you check whether this patch is ok?

I think the following patch is better -- can you pls. test it?

*** ido.el      12 Jun 2005 01:10:06 +0200      1.61
--- ido.el      14 Jun 2005 17:07:57 +0200      
***************
*** 1320,1326 ****
  
      (add-hook 'kill-emacs-hook 'ido-kill-emacs-hook)
  
!     (unless ido-minor-mode-map-entry
        (setq ido-minor-mode-map-entry (cons 'ido-mode (make-sparse-keymap)))
        (add-to-list 'minor-mode-map-alist ido-minor-mode-map-entry))
  
--- 1320,1327 ----
  
      (add-hook 'kill-emacs-hook 'ido-kill-emacs-hook)
  
!     (if ido-minor-mode-map-entry
!       (setcdr ido-minor-mode-map-entry (make-sparse-keymap))
        (setq ido-minor-mode-map-entry (cons 'ido-mode (make-sparse-keymap)))
        (add-to-list 'minor-mode-map-alist ido-minor-mode-map-entry))
  


-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]