[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 d064034: Document new features of tildify-mode
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 d064034: Document new features of tildify-mode |
Date: |
Sat, 02 Jan 2016 12:49:46 +0000 |
branch: emacs-25
commit d064034c1c805ba263de26efe7ca42acecbe8899
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Document new features of tildify-mode
* lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
(tildify-mode): Spelling fixes in doc strings.
* etc/NEWS: Reformat the tildify-mode entry.
---
etc/NEWS | 6 ++++--
lisp/textmodes/tildify.el | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/etc/NEWS b/etc/NEWS
index 1880e6d..fdfd4f0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -925,8 +925,10 @@ By default, 32 consecutive spaces or four consecutive TABs
are
considered to be too deep, but the new variable
`whitespace-big-indent-regexp' can be customized to change that.
-** tildify: `tildify-space-string', `tildify-pattern', and
-`tildify-foreach-region-function' variables added making
+---
+** New options in `tildify-mode'.
+New options `tildify-space-string', `tildify-pattern', and
+`tildify-foreach-region-function' variables make
`tildify-string-alist', `tildify-pattern-alist', and
`tildify-ignored-environments-alist' variables (as well as a few
helper functions) obsolete.
diff --git a/lisp/textmodes/tildify.el b/lisp/textmodes/tildify.el
index b11569c..eb799c0 100644
--- a/lisp/textmodes/tildify.el
+++ b/lisp/textmodes/tildify.el
@@ -282,7 +282,7 @@ corresponding text part and can be either:
CALLBACK is a function accepting two arguments -- REG-BEG and REG-END -- that
will be called for portions of the buffer outside of the environments defined
by
-PAIRS regexes.
+PAIRS regexps.
The function will return as soon as CALLBACK returns nil or point goes past
END.
CALLBACK may be called on portions of the buffer outside of [BEG END); in fact
@@ -479,7 +479,7 @@ which is assumed to be a space character, should be
replaced with a hard space."
;;;###autoload
(define-minor-mode tildify-mode
- "Adds electric behaviour to space character.
+ "Adds electric behavior to space character.
When space is inserted into a buffer in a position where hard space is required
instead (determined by `tildify-space-pattern' and `tildify-space-predicates'),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 d064034: Document new features of tildify-mode,
Eli Zaretskii <=