Subject: [PATCH 2/2] Improve instructions how set path to C source code for Red Hat
From: Björn Bidar <[email-masked]>
To: [email-masked]
Date: Sun, 4 Aug 2024 16:17:25 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* etc/PROBLEMS(Problems when reading or debugging Emacs C code):
Improve instruction how to set path to C source code for Red Hat
based systems.
---
 etc/PROBLEMS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index ef205da2c17..a642ebce570 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -450,7 +450,7 @@ To get describe-function and similar commands to work, you can then
 add something like the following to your startup file:
 
      (setq find-function-C-source-directory
-           "/usr/src/debug/emacs-27.1-1.fc31.x86_64/src/")
+          (car (file-expand-wildcards "/usr/src/debug/emacs-*/src")))
 
 However, the exact directory name will depend on the system, and you
 will need to both upgrade source and debug info when your system
-- 
2.45.2