Accepting request 1193628 from editors

- Set find-function-C-source-directory in site-start so sources
  provided by the debugsource package can be found user intervention
  inside Emacs (forwarded request 1191553 from Thaodan)

OBS-URL: https://build.opensuse.org/request/show/1193628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs?expand=0&rev=190
This commit is contained in:
Dominique Leuenberger 2024-08-14 12:14:21 +00:00 committed by Git OBS Bridge
commit 67e599f6b9
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Aug 4 20:20:37 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>
- Set find-function-C-source-directory in site-start so sources
provided by the debugsource package can be found user intervention
inside Emacs
-------------------------------------------------------------------
Thu Jul 25 12:23:48 UTC 2024 - Dr. Werner Fink <werner@suse.de>

View File

@ -686,6 +686,12 @@ cat << EOF > %{buildroot}/%{_emacs_sitestartdir}/archsitedir.el
(add-to-list 'load-path "%{_emacs_archsitelispdir}")
EOF
cat <<EOF > %{buildroot}/%{_emacs_sitestartdir}/function-c-source-directory.el
;; Set function c source directory to the path of debugsource
;; so it can be found without user invention
(setq find-function-C-source-directory "%{_usrsrc}/debug/%{name}-%{version}/src")
EOF
popd
(cd %{buildroot}
find usr/share/emacs/site-lisp/ -type f \