[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/ido.el
From: |
Kim F . Storm |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/ido.el |
Date: |
Sun, 21 Aug 2005 17:26:08 -0400 |
Index: emacs/lisp/ido.el
diff -c emacs/lisp/ido.el:1.74 emacs/lisp/ido.el:1.75
*** emacs/lisp/ido.el:1.74 Thu Aug 18 09:29:48 2005
--- emacs/lisp/ido.el Sun Aug 21 21:26:07 2005
***************
*** 3366,3403 ****
(or (member name ido-ignore-item-temp-list)
(and
ido-process-ignore-lists re-list
! (let ((data (match-data))
! (ext-list (and ignore-ext ido-ignore-extensions
completion-ignored-extensions))
! ignorep nextstr
! (flen (length name)) slen)
! (while ext-list
! (setq nextstr (car ext-list))
! (if (cond
! ((stringp nextstr)
! (and (>= flen (setq slen (length nextstr)))
! (string-equal (substring name (- flen slen)) nextstr)))
! ((fboundp nextstr) (funcall nextstr name))
! (t nil))
! (setq ignorep t
! ext-list nil
! re-list nil)
! (setq ext-list (cdr ext-list))))
! (while re-list
! (setq nextstr (car re-list))
! (if (cond
! ((stringp nextstr) (string-match nextstr name))
! ((fboundp nextstr) (funcall nextstr name))
! (t nil))
! (setq ignorep t
! re-list nil)
! (setq re-list (cdr re-list))))
! ;; return the result
! (if ignorep
! (setq ido-ignored-list (cons name ido-ignored-list)))
! (set-match-data data)
! ignorep))))
!
;; Private variable used by `ido-word-matching-substring'.
(defvar ido-change-word-sub)
--- 3366,3402 ----
(or (member name ido-ignore-item-temp-list)
(and
ido-process-ignore-lists re-list
! (save-match-data
! (let ((ext-list (and ignore-ext ido-ignore-extensions
completion-ignored-extensions))
! (case-fold-search ido-case-fold)
! ignorep nextstr
! (flen (length name)) slen)
! (while ext-list
! (setq nextstr (car ext-list))
! (if (cond
! ((stringp nextstr)
! (and (>= flen (setq slen (length nextstr)))
! (string-equal (substring name (- flen slen)) nextstr)))
! ((fboundp nextstr) (funcall nextstr name))
! (t nil))
! (setq ignorep t
! ext-list nil
! re-list nil)
! (setq ext-list (cdr ext-list))))
! (while re-list
! (setq nextstr (car re-list))
! (if (cond
! ((stringp nextstr) (string-match nextstr name))
! ((fboundp nextstr) (funcall nextstr name))
! (t nil))
! (setq ignorep t
! re-list nil)
! (setq re-list (cdr re-list))))
! ;; return the result
! (if ignorep
! (setq ido-ignored-list (cons name ido-ignored-list)))
! ignorep)))))
;; Private variable used by `ido-word-matching-substring'.
(defvar ido-change-word-sub)