* lisp/simple.el (self-insert-uses-region-functions): Defvar.
This commit is contained in:
parent
93e8e44e6f
commit
27bc6b1465
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* simple.el (self-insert-uses-region-functions): Defvar.
|
||||
|
||||
2014-08-13 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* speedbar.el (speedbar-generic-list-tag-p): Allow special
|
||||
|
|
|
@ -374,6 +374,13 @@ Other major modes are defined by comparison with this one."
|
|||
|
||||
;; Making and deleting lines.
|
||||
|
||||
(defvar self-insert-uses-region-functions nil
|
||||
"Special hook to tell if `self-insert-command' will use the region.
|
||||
It must be called via `run-hook-with-args-until-success' with no arguments.
|
||||
Any `post-self-insert-command' which consumes the region should
|
||||
register a function on this hook so that things like `delete-selection-mode'
|
||||
can refrain from consuming the region.")
|
||||
|
||||
(defvar hard-newline (propertize "\n" 'hard t 'rear-nonsticky '(hard))
|
||||
"Propertized string representing a hard newline character.")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue