Subject: Re: bug#17529: 24.3; Error in hippie-expand

From: Glenn Morris <[email-masked]>
Date: Thu, 22 May 2014 02:21:14 -0400

I think this would also work:

*** lisp/hippie-exp.el	2014-02-10 01:34:22 +0000
--- lisp/hippie-exp.el	2014-05-22 06:16:33 +0000
***************
*** 715,721 ****
  
  (defun he-line-search-regexp (pat strip-prompt)
    (if strip-prompt
!       (concat "\\(" comint-prompt-regexp "\\|^\\s-*\\)\\("
  	      (regexp-quote pat)
  	      "[^\n]*[^ \t\n]\\)")
        (concat "^\\(\\s-*\\)\\("
--- 715,721 ----
  
  (defun he-line-search-regexp (pat strip-prompt)
    (if strip-prompt
!       (concat "\\(" comint-prompt-regexp "\\|^\\s-*\\)\\(?2:"
  	      (regexp-quote pat)
  	      "[^\n]*[^ \t\n]\\)")
        (concat "^\\(\\s-*\\)\\("