aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSean Whitton2025-11-25 22:08:19 +0000
committerSean Whitton2025-11-25 22:08:19 +0000
commit47aec3cbc9a2e9dbf7760cab9dbf80ee18e07ba9 (patch)
treeff28f1ec0c71535bf11a935213dd6c3a30253fa5 /src
parent158bf5da779a30be4cde06929771715ef55e13c5 (diff)
downloademacs-47aec3cbc9a2e9dbf7760cab9dbf80ee18e07ba9.tar.gz
emacs-47aec3cbc9a2e9dbf7760cab9dbf80ee18e07ba9.zip
Make it easier to enable Abbrev mode by default
* lisp/cus-start.el: Make 'abbrev-mode' customizable. * doc/emacs/abbrevs.texi (Abbrev Concepts): * etc/NEWS: * src/buffer.c (syms_of_buffer): <abbrev-mode>: Document enabling Abbrev mode by default in all buffers by customizing 'abbrev-mode' to a non-nil value.
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index e44b6daf587..3ef95626600 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5218,8 +5218,10 @@ Format with `format-mode-line' to produce a string value. */);
5218 doc: /* Local (mode-specific) abbrev table of current buffer. */); 5218 doc: /* Local (mode-specific) abbrev table of current buffer. */);
5219 5219
5220 DEFVAR_PER_BUFFER ("abbrev-mode", &BVAR (current_buffer, abbrev_mode), Qnil, 5220 DEFVAR_PER_BUFFER ("abbrev-mode", &BVAR (current_buffer, abbrev_mode), Qnil,
5221 doc: /* Non-nil if Abbrev mode is enabled. 5221 doc: /* Non-nil if Abbrev mode is enabled.
5222Use the command `abbrev-mode' to change this variable. */); 5222Use the command `abbrev-mode' to change the value of this variable in
5223the current buffer. Customize this variable to non-nil to enable Abbrev
5224mode by default in all buffers. */);
5223 5225
5224 DEFVAR_PER_BUFFER ("fill-column", &BVAR (current_buffer, fill_column), 5226 DEFVAR_PER_BUFFER ("fill-column", &BVAR (current_buffer, fill_column),
5225 Qintegerp, 5227 Qintegerp,