all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#30737: [patch] global-abbrev-mode
@ 2018-03-06 23:27 Alex Branham
  2018-03-07 17:09 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Branham @ 2018-03-06 23:27 UTC (permalink / raw)
  To: 30737

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

It's currently not very clear how we're supposed to turn on abbrev-mode
everywhere. This patch introduces global-abbrev-mode to solve that
particular problem. I've been using this line in my init.el for a few
months without issue.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-abbrev.el-global-abbrev-mode-new-global-minor-m.patch --]
[-- Type: text/x-patch, Size: 656 bytes --]

From 4e4ab48f279c0b30708be1f0acdcd6fba85e82c2 Mon Sep 17 00:00:00 2001
From: Alex Branham <branham@utexas.edu>
Date: Tue, 6 Mar 2018 17:24:04 -0600
Subject: [PATCH] * lisp/abbrev.el (global-abbrev-mode): new global minor mode

---
 lisp/abbrev.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/abbrev.el b/lisp/abbrev.el
index 197276cc9c..2719250189 100644
--- a/lisp/abbrev.el
+++ b/lisp/abbrev.el
@@ -67,6 +67,8 @@ abbrev-mode
 
 (put 'abbrev-mode 'safe-local-variable 'booleanp)
 
+(define-globalized-minor-mode global-abbrev-mode abbrev-mode abbrev-mode)
+
 \f
 (defvar edit-abbrevs-mode-map
   (let ((map (make-sparse-keymap)))
-- 
2.16.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-24 20:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-06 23:27 bug#30737: [patch] global-abbrev-mode Alex Branham
2018-03-07 17:09 ` Eli Zaretskii
2018-03-07 17:18   ` Alex Branham
2018-03-07 18:03     ` Eli Zaretskii
2018-03-07 19:08       ` Alex Branham
2019-06-24 20:00       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.