diff options
| author | João Távora | 2018-06-19 02:18:43 +0100 |
|---|---|---|
| committer | João Távora | 2018-06-19 02:19:24 +0100 |
| commit | 6353387835f6cb34765ac525ac3e9edf3239e589 (patch) | |
| tree | 22119b3a67890a65ef2f837cca1b242e2e11a5b8 /src/coding.c | |
| parent | 5498acb5a2b4a19060d17c0e2ce0aec36ee684f9 (diff) | |
| download | emacs-6353387835f6cb34765ac525ac3e9edf3239e589.tar.gz emacs-6353387835f6cb34765ac525ac3e9edf3239e589.zip | |
Electric-pair-mode lets modes choose how to skip whitespace
cc-mode.el-based major-modes with stricter syntax for invalid
NL-terminated strings might choose to have electric-pair-mode skip
some of whitespace into non-string-syntax regions, for the sake of
letting electric-pair-mode chomp that whitespace and make the string
valid again.
* lisp/elec-pair.el (electric-pair-post-self-insert-function): Call it.
(electric-pair-skip-whitespace-function): New buffer-local variable.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions