]> git.eshelyaron.com Git - emacs.git/commitdiff
etags-regen-program: Use more robust default value
authorDmitry Gutov <dmitry@gutov.dev>
Tue, 21 May 2024 23:51:51 +0000 (02:51 +0300)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 May 2024 08:29:49 +0000 (10:29 +0200)
* lisp/progmodes/etags-regen.el (etags-regen-program):
Default to the value of the variable etags-program-name.

(cherry picked from commit 63d914e377f7cc37056de2503bfbeea831875037)

lisp/progmodes/etags-regen.el

index 02d666ceff7d314c8080486d0a641b1f3c10d048..dc778b14061da6ecbe1c35278608d99bd8d28d86 100644 (file)
@@ -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 <dmitry@gutov.dev>
 ;; 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