Function: he-line-search
he-line-search is a byte-compiled function defined in
hippie-exp.el.gz.
Signature
(he-line-search STR STRIP-PROMPT REVERSE)
Source Code
;; Defined in /usr/src/emacs/lisp/hippie-exp.el.gz
(defun he-line-search (str strip-prompt reverse)
(let ((result ()))
(while (and (not result)
(if reverse
(re-search-backward
(he-line-search-regexp str strip-prompt)
nil t)
(re-search-forward
(he-line-search-regexp str strip-prompt)
nil t)))
(setq result (buffer-substring-no-properties (match-end 1)
(match-end 0)))
(if (he-string-member result he-tried-table t)
(setq result nil))) ; if already in table, ignore
result))