• Juri Linkov's avatar
    Restore isearch correctly after M-e in special modes (bug#30187) · 71e45850
    Juri Linkov authored
    * lisp/isearch.el (isearch-suspended): New defvar.
    (with-isearch-suspended): Set isearch-suspended to t
    at the beginning, then set it back to nil at the end.
    
    * lisp/comint.el (comint-history-isearch-backward)
    (comint-history-isearch-backward-regexp): Set global value of
    comint-history-isearch to t.
    (comint-history-isearch-end): Reevaluate
    comint-history-isearch when isearch-edit-string finishes.
    
    * lisp/dired-aux.el (dired-isearch-filenames)
    (dired-isearch-filenames-regexp): Set global value of
    dired-isearch-filenames to t.
    (dired-isearch-filenames-end): Reevaluate
    dired-isearch-filenames when isearch-edit-string finishes.
    71e45850
comint.el 160 KB