Hi, Here is a modification with inclusion of git-grep only when the grep library is available. +(require 'grep () t) +(when (featurep 'grep) + (defvar git-grep-history nil) + + (defun git-grep (regexp &optional files dir) Why not just do something like this ? (when (require 'grep () t) (defvar ...) (defun git-grep ...)) Regards, Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html