From: Dmitry Gutov Date: Tue, 21 May 2024 23:51:51 +0000 (+0300) Subject: etags-regen-program: Use more robust default value X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b94c78d838344acf181a78e10d49e5e444e4eeb5;p=emacs.git etags-regen-program: Use more robust default value * lisp/progmodes/etags-regen.el (etags-regen-program): Default to the value of the variable etags-program-name. (cherry picked from commit 63d914e377f7cc37056de2503bfbeea831875037) --- diff --git a/lisp/progmodes/etags-regen.el b/lisp/progmodes/etags-regen.el index 02d666ceff7..dc778b14061 100644 --- a/lisp/progmodes/etags-regen.el +++ b/lisp/progmodes/etags-regen.el @@ -1,6 +1,6 @@ ;;; etags-regen.el --- Auto-(re)regenerating tags -*- lexical-binding: t -*- -;; Copyright (C) 2021-2023 Free Software Foundation, Inc. +;; Copyright (C) 2021-2024 Free Software Foundation, Inc. ;; Author: Dmitry Gutov ;; Keywords: tools @@ -52,7 +52,7 @@ (declare-function project-files "project") (declare-function dired-glob-regexp "dired") -(defcustom etags-regen-program (executable-find "etags") +(defcustom etags-regen-program etags-program-name "Name of the etags program used by `etags-regen-mode'. If you only have `ctags' installed, you can also set this to