]> git.eshelyaron.com Git - emacs.git/commit
Fix usage of `setq-default' and offer more suggestions
authorXiyue Deng <manphiz@gmail.com>
Sun, 24 Dec 2023 00:12:44 +0000 (16:12 -0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 2 Jan 2024 07:16:42 +0000 (08:16 +0100)
commitc08181bba11e486e86dee204a6848ea262e43b87
tree060caa1046c266be27e123b9444dba7a2bbf408c
parent3016f942622bb1d9e58a344f79576a2233248014
Fix usage of `setq-default' and offer more suggestions

cd61af0 changed from default-major-mode to major-mode in the first
code sample but didn't change the rest.  This patch fixes this and add
some explanations of why use `setq-default' instead of `setq'.  In
addition, it gives background on suggesting using text-mode as default
mode and suggest other alternatives.

* doc/lispintro/emacs-lisp-intro.texi (Text and Auto-fill): Fix usage
of `setq-default' and offer more suggestions.  (Bug#67848)

(cherry picked from commit ceacf75395834c452b43932c19df7e3202a16094)
doc/lispintro/emacs-lisp-intro.texi