[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-posframe 7dc84ee 152/195: Fix2 First line disappear
From: |
Feng Shu |
Subject: |
[elpa] externals/ivy-posframe 7dc84ee 152/195: Fix2 First line disappears with the specific condition. #47 |
Date: |
Sat, 3 Oct 2020 07:12:04 -0400 (EDT) |
branch: externals/ivy-posframe
commit 7dc84ee4ee4ab8b28235198c6bef105756dade2b
Author: SeungKi Kim <tttuuu888@gmail.com>
Commit: SeungKi Kim <tttuuu888@gmail.com>
Fix2 First line disappears with the specific condition. #47
Better solution since this does not modify kill-ring.
---
ivy-posframe.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 115bad5..3df0168 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -481,8 +481,8 @@ selection, non-nil otherwise."
(remove-text-properties 0 (length prompt) '(read-only nil) prompt)
(with-current-buffer ivy-posframe-buffer
(goto-char (point-min))
- (kill-line 1)
- (setq kill-ring (cdr kill-ring))
+ (delete-region (point) (save-excursion (move-end-of-line 1) (point)))
+ (delete-char 1)
(insert prompt " \n")
(add-text-properties point (1+ point) '(face
ivy-posframe-cursor)))))))
- [elpa] externals/ivy-posframe 0c2bf2c 095/195: Fix2 "ivy-posframe copies prompt text as kill" #41, (continued)
- [elpa] externals/ivy-posframe 0c2bf2c 095/195: Fix2 "ivy-posframe copies prompt text as kill" #41, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d15c352 165/195: remove ivy-posframe--poframe-p-advice, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 10fd5c1 148/195: Fix `ivy-dispatching-done` is not working #45, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 1b5db75 145/195: Do not warn when ivy-display-function is not nil, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 92e09f2 153/195: Merge pull request #44 from conao3/fix-minor-mode-option, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d57087e 116/195: add additional-display-functions custom variable, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 1a7f2f0 107/195: move ivy-posframe-display-functions to variables section, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 95c1028 177/195: ivy-display-function -> ivy--display-function, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe aae7322 119/195: use ivy-posframe-mode-map instead of define-key, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 35d47bd 117/195: refine document, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 7dc84ee 152/195: Fix2 First line disappears with the specific condition. #47,
Feng Shu <=
- [elpa] externals/ivy-posframe d35af4f 144/195: handle ivy-display-function again, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 8902638 100/195: define ivy-posframe-adbice-alist, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 212eaa1 138/195: indent ivy-posframe-mode, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe b934152 125/195: move variables section above advice section, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 9e0c6da 118/195: generate readme, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 02a357d 104/195: define ivy-posframe-mode instead of ivy-posframe-enable, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe aea9074 122/195: add ivy-posframe--read advice, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 76350e7 146/195: Update README, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe c4091c3 120/195: remove unnesessary code, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe e76a15d 162/195: Merge pull request #53 from gagbo/patch-1, Feng Shu, 2020/10/03