Commit a69ecd19 authored by Glenn Morris's avatar Glenn Morris
Browse files

Delete Selection mode doc updates

* lisp/delsel.el (delete-selection-mode): Doc fix.

* doc/misc/efaq.texi (Replacing highlighted text):
Update delete-selection-mode doc.

* etc/NEWS: Related edit.
parent 9997d7e3
2014-01-31 Glenn Morris <rgm@gnu.org>
* efaq.texi (Replacing highlighted text):
Update delete-selection-mode doc.
2014-01-30 Xue Fuqiao <xfq.free@gmail.com>
* sem-user.texi (Include paths): Fix a Texinfo command.
......
......@@ -1578,10 +1578,9 @@ According to the documentation string for @code{delete-selection-mode}
delete-selection-mode @key{RET}}):
@quotation
When Delete Selection mode is enabled, Transient Mark mode is also
enabled and typed text replaces the selection if the selection is
active. Otherwise, typed text is just inserted at point regardless of
any selection.
When Delete Selection mode is enabled, typed text replaces the selection
if the selection is active. Otherwise, typed text is just inserted at
point regardless of any selection.
@end quotation
This mode also allows you to delete (not kill) the highlighted region by
......
......@@ -448,7 +448,8 @@ You can disable `transient-mark-mode' to get the same result.
There is a fallback syntax available if you don't have cf-promises or
if your version doesn't support that option. See option `cfengine-cf-promises'.
** Delete Selection mode can now be used without `transient-mark-mode'.
---
** Delete Selection mode can now be used without Transient Mark mode.
** Desktop
......
2014-01-31 Glenn Morris <rgm@gnu.org>
* delsel.el (delete-selection-mode): Doc fix.
* emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
(trace-function-background): Doc fixes.
......
......@@ -64,10 +64,9 @@ With a prefix argument ARG, enable Delete Selection mode if ARG
is positive, and disable it otherwise. If called from Lisp,
enable the mode if ARG is omitted or nil.
When Delete Selection mode is enabled, Transient Mark mode is also
enabled and typed text replaces the selection if the selection is
active. Otherwise, typed text is just inserted at point regardless of
any selection."
When Delete Selection mode is enabled, typed text replaces the selection
if the selection is active. Otherwise, typed text is just inserted at
point regardless of any selection."
:global t :group 'editing-basics
(if (not delete-selection-mode)
(remove-hook 'pre-command-hook 'delete-selection-pre-hook)
......
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