diff options
| author | Glenn Morris | 2014-01-30 23:28:17 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-01-30 23:28:17 -0800 |
| commit | a69ecd19fe9ea522f7266b6852e2d6d080a192c2 (patch) | |
| tree | 20280e41ec19993fdbe6fd50b1881ba29d0f71a2 /lisp | |
| parent | 9997d7e3e3530043d3b924a11fad658b88016d87 (diff) | |
| download | emacs-a69ecd19fe9ea522f7266b6852e2d6d080a192c2.tar.gz emacs-a69ecd19fe9ea522f7266b6852e2d6d080a192c2.zip | |
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.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/delsel.el | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5bbe6a027fd..f032b06a7f7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2014-01-31 Glenn Morris <rgm@gnu.org> | 1 | 2014-01-31 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * delsel.el (delete-selection-mode): Doc fix. | ||
| 4 | |||
| 3 | * emacs-lisp/trace.el (trace--read-args, trace-function-foreground) | 5 | * emacs-lisp/trace.el (trace--read-args, trace-function-foreground) |
| 4 | (trace-function-background): Doc fixes. | 6 | (trace-function-background): Doc fixes. |
| 5 | 7 | ||
diff --git a/lisp/delsel.el b/lisp/delsel.el index fdf00236235..5c3d638f16c 100644 --- a/lisp/delsel.el +++ b/lisp/delsel.el | |||
| @@ -64,10 +64,9 @@ With a prefix argument ARG, enable Delete Selection mode if ARG | |||
| 64 | is positive, and disable it otherwise. If called from Lisp, | 64 | is positive, and disable it otherwise. If called from Lisp, |
| 65 | enable the mode if ARG is omitted or nil. | 65 | enable the mode if ARG is omitted or nil. |
| 66 | 66 | ||
| 67 | When Delete Selection mode is enabled, Transient Mark mode is also | 67 | When Delete Selection mode is enabled, typed text replaces the selection |
| 68 | enabled and typed text replaces the selection if the selection is | 68 | if the selection is active. Otherwise, typed text is just inserted at |
| 69 | active. Otherwise, typed text is just inserted at point regardless of | 69 | point regardless of any selection." |
| 70 | any selection." | ||
| 71 | :global t :group 'editing-basics | 70 | :global t :group 'editing-basics |
| 72 | (if (not delete-selection-mode) | 71 | (if (not delete-selection-mode) |
| 73 | (remove-hook 'pre-command-hook 'delete-selection-pre-hook) | 72 | (remove-hook 'pre-command-hook 'delete-selection-pre-hook) |