Function: hfy-which-etags

hfy-which-etags is a byte-compiled function defined in htmlfontify.el.gz.

Signature

(hfy-which-etags)

Documentation

Return a string indicating which flavor of etags we are using.

Source Code

;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
(defun hfy-which-etags ()
  "Return a string indicating which flavor of etags we are using."
  (with-temp-buffer
    (condition-case nil
        (when (eq (call-process hfy-etags-bin nil t nil "--version") 0)
          (goto-char (point-min))
          (cond
           ((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))))