branch: externals/embark
commit e2ab791ba7ade7771cea2360be0ec4d049f3a509
Author: Omar Antolín <[email protected]>
Commit: Omar Antolín <[email protected]>

    Document embark-insert use of other-window-for-scrolling
---
 embark.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/embark.el b/embark.el
index aefe721c0a..7ec8220c86 100644
--- a/embark.el
+++ b/embark.el
@@ -3741,7 +3741,10 @@ constituent character next to an existing word 
constituent.
 
 2. For a multiline inserted string, newlines may be added before
 or after as needed to ensure the inserted string is on lines of
-its own."
+its own.
+
+As a convenience, if the buffer is read-only, attempt the insertion in
+the window returned by `other-window-for-scrolling' instead."
   (let* ((separator (embark--separator strings))
          (multiline
           (or (and (cdr strings) (string-match-p "\n" separator))

Reply via email to