>>>>> "BK" == Bradley M Kuhn <[EMAIL PROTECTED]> writes:

    >> > Hitting `s' by itself reuses the previous regexp.

    BK> This must been a feature addition in 20.6.  I am
    BK> using 20.5, and it doesn't work that way.  :)

I can't verify this because I don't have access to older
elisp files, but I believe this feature goes back to emacs
18 days.  I'm quite sure of this.

My emacs 20.5 (the one big tarball from
ftp.gnu.org:/gnu/windows/emacs/20.5) *does* have this
feature built in as shown below.

(defun Info-search (regexp)
  "Search for REGEXP, starting from point, and select node it's found in."
  (interactive "sSearch (regexp): ")
  (if transient-mark-mode (deactivate-mark))
  (if (equal regexp "")
      (setq regexp Info-last-search)
    (setq Info-last-search regexp))
  ...

Reply via email to