Commit 27bc6b14 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/simple.el (self-insert-uses-region-functions): Defvar.

parent 93e8e44e
2014-08-18 Stefan Monnier <>
* simple.el (self-insert-uses-region-functions): Defvar.
2014-08-13 Leo Liu <>
* 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.")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment