summaryrefslogtreecommitdiff
path: root/lisp/textmodes/string-edit.el
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-011-1/+1
|
* Fix thinko in read-string-from-bufferLars Ingebrigtsen2022-10-121-3/+1
| | | | | * lisp/textmodes/string-edit.el (string-edit-done): Return an empty string when the user has entered no text.
* Make read-string-from-buffer and string-edit mention each otherLars Ingebrigtsen2022-10-111-2/+6
| | | | | * lisp/textmodes/string-edit.el (read-string-from-buffer) (string-edit): Mention each other in the doc strings.
* * lisp/textmodes/string-edit.el: Improvements for pop-to-buffer (bug#33007)Juri Linkov2022-05-111-28/+35
| | | | | | * lisp/textmodes/string-edit.el (string-edit): Use pop-to-buffer with fit-window-to-buffer after the buffer is filled with text. (string-edit-done, string-edit-abort): Use (quit-window 'kill).
* Change parameter order for string-edit functionsLars Ingebrigtsen2022-04-271-14/+16
| | | | | | | * lisp/textmodes/string-edit.el (string-edit) (read-string-from-buffer): Rework the function arguments so that they're more similar to `read-string'. Rename symbols throughout the file from help-text to prompt.
* Add autoload cookies to string-editLars Ingebrigtsen2022-04-271-0/+2
| | | | | * lisp/textmodes/string-edit.el (string-edit) (read-string-from-buffer): Autoload.
* Add an instruction header line to string-editLars Ingebrigtsen2022-04-271-0/+3
| | | | | * lisp/textmodes/string-edit.el (string-edit): Add a header line with instructions.
* Fix up some string-edit.el stringsLars Ingebrigtsen2022-04-251-5/+5
| | | | | | | * lisp/textmodes/string-edit.el (string-edit) (read-string-from-buffer): Make doc strings use dynamic key bindings. (string-edit): Fix message at the end.
* Use `C-c C-k' instead of `C-c C-d' to abort in string-editLars Ingebrigtsen2022-04-241-3/+3
| | | | | * lisp/textmodes/string-edit.el (string-edit-mode-map): Use `C-c C-k' to abort.
* Add new function `read-string-from-buffer'.Lars Ingebrigtsen2022-04-241-0/+122
* doc/lispref/minibuf.texi (Text from Minibuffer): Document it. * lisp/textmodes/string-edit.el: New file.