mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
; * etc/PROBLEMS: How to install sources on SUSE Linux (bug#72465).
This commit is contained in:
parent
729b17c202
commit
b89d65df5f
20
etc/PROBLEMS
20
etc/PROBLEMS
@ -456,6 +456,26 @@ However, the exact directory name will depend on the system, and you
|
||||
will need to both upgrade source and debug info when your system
|
||||
upgrades or patches Emacs, and change your startup file accordingly.
|
||||
|
||||
** SUSE based distributions (openSUSE, SUSE Linux Enterprise)
|
||||
|
||||
On systems with distributions, you can install source and debug info via
|
||||
superuser commands like the following:
|
||||
|
||||
# Install Emacs source and debuginfo by using --plus-content
|
||||
zypper --plus-content debug,source install \
|
||||
emacs-debuginfo emacs-debugsource
|
||||
|
||||
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/src/")
|
||||
|
||||
The line above should work for all systems using zypper besides SUSE
|
||||
based ones, however it could be that you have to adjust the path to the
|
||||
sources slightly depending on the version of the distribution you have
|
||||
installed.
|
||||
|
||||
** Source and debuginfo for other systems
|
||||
|
||||
If your system follows neither the Debian nor the Red Hat patterns,
|
||||
|
Loading…
Reference in New Issue
Block a user