Function: hibtypes-git-get-locate-command

hibtypes-git-get-locate-command is a byte-compiled function defined in hib-social.el.

Signature

(hibtypes-git-get-locate-command)

Documentation

Get the locate command.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hib-social.el
(defun hibtypes-git-get-locate-command ()
  "Get the locate command."
  (require 'locate)
  (let ((cmd (if (string-match "locate" locate-command) locate-command "locate")))
    (if (executable-find cmd)
	cmd
      (error "(git-reference): \"locate\" command required but not found; see its man page for setup instructions"))))