examples: emacs: Disable cua-mode by default.

* modules/rosenthal/examples/emacs/init-editing.el (emacs): Disable ‘cua-mode’.
* modules/rosenthal/examples/emacs/init.el: Add it to initial-scratch-message.
This commit is contained in:
Hilton Chain committed 2026-02-16 13:59:26 +08:00
1 parent 83edc24958
commit 9d90607a02
2 files changed
+4 -3

No files matched your search

@@ -11,8 +11,6 @@
(setopt electric-indent-inhibit t)
:hook
(before-save . delete-trailing-whitespace)
;; Use Ctrl-C/X/Z for copy, cut, paste.
(after-init . cua-mode)
;; Automatic parenthesis pairing.
(after-init . electric-pair-mode))
+4 -1
View File
@@ -32,7 +32,10 @@
(progn
(setopt initial-scratch-message
";;; Type your Guile program here and evaluate it.\n\n")
"\
;;; Type your Guile program here and evaluate it.
;;; `M-x cua-mode' to use Ctrl-C/X/Z for copy, cut, paste.
\n")
(scheme-mode)
(geiser-repl-import-module "(gnu)")
(geiser-repl-import-module "(nonguix)")