diff options
| author | Eli Zaretskii | 2016-01-02 14:48:38 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-01-02 14:48:38 +0200 |
| commit | d064034c1c805ba263de26efe7ca42acecbe8899 (patch) | |
| tree | 23b6850f77187d2a94ae9fb4d1926780d2b72464 | |
| parent | 964bea7da5283a6c1ca2d7c6ee8a9d07d4951e69 (diff) | |
| download | emacs-d064034c1c805ba263de26efe7ca42acecbe8899.tar.gz emacs-d064034c1c805ba263de26efe7ca42acecbe8899.zip | |
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.
| -rw-r--r-- | etc/NEWS | 6 | ||||
| -rw-r--r-- | lisp/textmodes/tildify.el | 4 |
2 files changed, 6 insertions, 4 deletions
| @@ -925,8 +925,10 @@ By default, 32 consecutive spaces or four consecutive TABs are | |||
| 925 | considered to be too deep, but the new variable | 925 | considered to be too deep, but the new variable |
| 926 | `whitespace-big-indent-regexp' can be customized to change that. | 926 | `whitespace-big-indent-regexp' can be customized to change that. |
| 927 | 927 | ||
| 928 | ** tildify: `tildify-space-string', `tildify-pattern', and | 928 | --- |
| 929 | `tildify-foreach-region-function' variables added making | 929 | ** New options in `tildify-mode'. |
| 930 | New options `tildify-space-string', `tildify-pattern', and | ||
| 931 | `tildify-foreach-region-function' variables make | ||
| 930 | `tildify-string-alist', `tildify-pattern-alist', and | 932 | `tildify-string-alist', `tildify-pattern-alist', and |
| 931 | `tildify-ignored-environments-alist' variables (as well as a few | 933 | `tildify-ignored-environments-alist' variables (as well as a few |
| 932 | helper functions) obsolete. | 934 | helper functions) obsolete. |
diff --git a/lisp/textmodes/tildify.el b/lisp/textmodes/tildify.el index b11569cd14c..eb799c09510 100644 --- a/lisp/textmodes/tildify.el +++ b/lisp/textmodes/tildify.el | |||
| @@ -282,7 +282,7 @@ corresponding text part and can be either: | |||
| 282 | 282 | ||
| 283 | CALLBACK is a function accepting two arguments -- REG-BEG and REG-END -- that | 283 | CALLBACK is a function accepting two arguments -- REG-BEG and REG-END -- that |
| 284 | will be called for portions of the buffer outside of the environments defined by | 284 | will be called for portions of the buffer outside of the environments defined by |
| 285 | PAIRS regexes. | 285 | PAIRS regexps. |
| 286 | 286 | ||
| 287 | The function will return as soon as CALLBACK returns nil or point goes past END. | 287 | The function will return as soon as CALLBACK returns nil or point goes past END. |
| 288 | CALLBACK may be called on portions of the buffer outside of [BEG END); in fact | 288 | 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." | |||
| 479 | 479 | ||
| 480 | ;;;###autoload | 480 | ;;;###autoload |
| 481 | (define-minor-mode tildify-mode | 481 | (define-minor-mode tildify-mode |
| 482 | "Adds electric behaviour to space character. | 482 | "Adds electric behavior to space character. |
| 483 | 483 | ||
| 484 | When space is inserted into a buffer in a position where hard space is required | 484 | When space is inserted into a buffer in a position where hard space is required |
| 485 | instead (determined by `tildify-space-pattern' and `tildify-space-predicates'), | 485 | instead (determined by `tildify-space-pattern' and `tildify-space-predicates'), |