emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 7e2f4d3: * lisp/htmlfontify.el (hfy-which-etags):


From: Glenn Morris
Subject: [Emacs-diffs] emacs-26 7e2f4d3: * lisp/htmlfontify.el (hfy-which-etags): Fix it.
Date: Wed, 13 Dec 2017 13:55:35 -0500 (EST)

branch: emacs-26
commit 7e2f4d3d416fc06a4462c8c4c38ec1b54b02611a
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/htmlfontify.el (hfy-which-etags): Fix it.
---
 lisp/htmlfontify.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el
index 0c5a247..aa7cf43 100644
--- a/lisp/htmlfontify.el
+++ b/lisp/htmlfontify.el
@@ -370,8 +370,8 @@ commands in `hfy-etags-cmd-alist'."
         (when (eq (call-process hfy-etags-bin nil t nil "--version") 0)
           (goto-char (point-min))
           (cond
-           ((looking-at-p "exube") "exuberant ctags")
-           ((looking-at-p "GNU E") "emacs etags")))
+           ((search-forward "exube" nil t) "exuberant ctags")
+           ((search-forward "GNU E" nil t) "emacs etags")))
       ;; Return nil if the etags binary isn't executable (Bug#25468).
       (file-error nil))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]