summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/map-tests.el
diff options
context:
space:
mode:
authorXiyue Deng <manphiz@gmail.com>2023-12-23 16:12:44 -0800
committerEli Zaretskii <eliz@gnu.org>2023-12-24 10:38:46 +0200
commitceacf75395834c452b43932c19df7e3202a16094 (patch)
tree518156f5e5425c88a0224ff08b5efacb196a3861 /test/lisp/emacs-lisp/map-tests.el
parent2701da0eee54d85f79104c7a91610bf591159a51 (diff)
downloademacs-ceacf75395834c452b43932c19df7e3202a16094.tar.gz
emacs-ceacf75395834c452b43932c19df7e3202a16094.tar.bz2
emacs-ceacf75395834c452b43932c19df7e3202a16094.zip
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)
Diffstat (limited to 'test/lisp/emacs-lisp/map-tests.el')
0 files changed, 0 insertions, 0 deletions