]> xn--ix-yja.es Git - alex.git/commitdiff
Revert "Update with Cosmopolitan Emacs"
authoralex <alex@pdp7.net>
Fri, 8 Mar 2024 18:20:39 +0000 (19:20 +0100)
committeralex <alex@pdp7.net>
Fri, 8 Mar 2024 18:20:39 +0000 (19:20 +0100)
This reverts commit 28c7267c69337f4b3facacb0d5d8059a19b0f2b9.

emacs/README.md
emacs/emacs.bash [new file with mode: 0644]

index 7593a472d3a676c6be5d753960513cb64ca566d2..0b001144ad530f91b72f7965db7829288d1a1b44 100644 (file)
@@ -24,4 +24,4 @@ You probably need other plugins, and maybe you don't need them right now.
 
 Maybe try out some of the large configurations, to learn what fancy stuff is available and add it as you become comfortable with the previous thing you configured.
 
-See also [my setup for using a Cosmopolitan Emacs](../scripts/p7s/emacs.py).
+(Be sure to check [emacs.bash](https://github.com/alexpdp7/alexpdp7/blob/master/emacs/emacs.bash) for something you can source in your bash to keep Emacs running and prevent slow startup.)
diff --git a/emacs/emacs.bash b/emacs/emacs.bash
new file mode 100644 (file)
index 0000000..2312f78
--- /dev/null
@@ -0,0 +1,5 @@
+# source this file from your bash startup script
+
+alias emacs="emacsclient --create-frame -t"
+export ALTERNATE_EDITOR=""
+export EDITOR="emacsclient -t"