diff options
| -rw-r--r-- | scripts/p7s/emacs.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/p7s/emacs.py b/scripts/p7s/emacs.py index 9eba95f9..d158afb8 100644 --- a/scripts/p7s/emacs.py +++ b/scripts/p7s/emacs.py @@ -1,5 +1,6 @@ import pathlib import subprocess +import textwrap import p7s @@ -9,3 +10,11 @@ def setup_emacs(): subprocess.run(["ln", "-s", (pathlib.Path(__file__).parent.parent.parent / "emacs" / "emacs.bash").absolute(), p7s.BASHRC_D / "emacs.bash"], check=True) (pathlib.Path.home() / ".emacs").unlink(missing_ok=True) subprocess.run(["ln", "-s", (pathlib.Path(__file__).parent.parent.parent / "emacs" / "emacs.el").absolute(), pathlib.Path.home() / ".emacs"], check=True) + + print(textwrap.dedent(""" + On Debian Bookworm, create /etc/apt/preferences.d/emacs with: + + Package: emacs-* + Pin: release a=stable-backports + Pin-Priority: 500 + """).lstrip()) |
