summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--glep-mode.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5bd6159..c5d62dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-11-05 Ulrich Müller <ulm@gentoo.org>
+
+ * glep-mode.el (glep-mode): Make sentence-end-double-space local
+ in this buffer.
+
2017-10-29 Ulrich Müller <ulm@gentoo.org>
* ebuild-mode.texi (glep-mode): Document that glep-mode does not
diff --git a/glep-mode.el b/glep-mode.el
index e02135c..cb6b098 100644
--- a/glep-mode.el
+++ b/glep-mode.el
@@ -89,8 +89,8 @@ For efficiency only. Unlimited if nil.")
(setq tab-width 4)
;; GLEP 2 specifies double space after a full stop, and filling
;; of paragraphs to column 70.
- (setq sentence-end-double-space t)
(setq fill-column 70)
+ (set (make-local-variable 'sentence-end-double-space) t)
(add-hook 'font-lock-extend-region-functions
'glep-mode-font-lock-extend-region t)
(add-hook 'write-contents-hooks 'glep-mode-before-save t t))