[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/so-long f8c9496 2/2: fixup! Add so-long library
From: |
Phil |
Subject: |
[Emacs-diffs] scratch/so-long f8c9496 2/2: fixup! Add so-long library |
Date: |
Fri, 11 Jan 2019 22:56:05 -0500 (EST) |
branch: scratch/so-long
commit f8c9496f6402f9f947e1f32f9898412b4e04943b
Author: Phil Sainty <address@hidden>
Commit: Phil Sainty <address@hidden>
fixup! Add so-long library
Define `so-long-enabled' as nil initially
`so-long-enable' sets this to t.
---
lisp/so-long.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lisp/so-long.el b/lisp/so-long.el
index 7491aaa..8f161ca 100644
--- a/lisp/so-long.el
+++ b/lisp/so-long.el
@@ -333,8 +333,10 @@
(declare-function longlines-mode "longlines")
(defvar longlines-mode)
-(defvar so-long-enabled t
- "Set to nil to prevent `so-long' from being triggered automatically.")
+(defvar so-long-enabled nil
+ "Set to nil to prevent `so-long' from being triggered automatically.
+
+Has no effect if `so-long-enable' has not been called.")
(defvar-local so-long--active nil ; internal use
"Non-nil when `so-long' mitigations are in effect.")