diff options
| author | Stefan Monnier | 2019-10-15 11:08:03 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2019-10-15 11:08:18 -0400 |
| commit | 6ac99ebb3f623c64379f5c6811f1cdeb6ecac7da (patch) | |
| tree | 7ff7086beab5d146c72a3aeebe893e58a0f09079 | |
| parent | 06114b79a5c860fc1eb2393f8167d358d5b55d89 (diff) | |
| download | emacs-6ac99ebb3f623c64379f5c6811f1cdeb6ecac7da.tar.gz emacs-6ac99ebb3f623c64379f5c6811f1cdeb6ecac7da.zip | |
* lisp/rect.el (string-rectangle): Inherit input method in minibuffer
| -rw-r--r-- | lisp/rect.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/rect.el b/lisp/rect.el index 34f79e3ed3c..4d4d6146f21 100644 --- a/lisp/rect.el +++ b/lisp/rect.el | |||
| @@ -520,7 +520,8 @@ Called from a program, takes three args; START, END and STRING." | |||
| 520 | (read-string (format "String rectangle (default %s): " | 520 | (read-string (format "String rectangle (default %s): " |
| 521 | (or (car string-rectangle-history) "")) | 521 | (or (car string-rectangle-history) "")) |
| 522 | nil 'string-rectangle-history | 522 | nil 'string-rectangle-history |
| 523 | (car string-rectangle-history))))))) | 523 | (car string-rectangle-history) |
| 524 | 'inherit-input-method)))))) | ||
| 524 | ;; If we undo this change, we want to have the point back where we | 525 | ;; If we undo this change, we want to have the point back where we |
| 525 | ;; are now, and not after the first line in the rectangle (which is | 526 | ;; are now, and not after the first line in the rectangle (which is |
| 526 | ;; the first line to be changed by the following command). | 527 | ;; the first line to be changed by the following command). |
| @@ -613,7 +614,7 @@ with a prefix argument, prompt for START-AT and FORMAT." | |||
| 613 | (apply-on-rectangle 'rectangle-number-line-callback | 614 | (apply-on-rectangle 'rectangle-number-line-callback |
| 614 | start end format))) | 615 | start end format))) |
| 615 | 616 | ||
| 616 | ;;; New rectangle integration with kill-ring. | 617 | ;;; Rectangle integration with kill-ring. |
| 617 | 618 | ||
| 618 | ;; FIXME: known problems with the new rectangle support: | 619 | ;; FIXME: known problems with the new rectangle support: |
| 619 | ;; - lots of commands handle the region without paying attention to its | 620 | ;; - lots of commands handle the region without paying attention to its |