From ed0bc984ab11e9485cd0438e7f139b708508bf5b Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sun, 5 Nov 2017 21:26:16 +0100 Subject: Make sentence-end-double-space local in glep-mode. * glep-mode.el (glep-mode): Make sentence-end-double-space local in this buffer. --- ChangeLog | 5 +++++ glep-mode.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5bd6159..c5d62dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-11-05 Ulrich Müller + + * glep-mode.el (glep-mode): Make sentence-end-double-space local + in this buffer. + 2017-10-29 Ulrich Müller * 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)) -- cgit v1.2.3-65-gdbad