[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-posframe 9e01129 083/195: Remove ivy-posframe-setup
From: |
Feng Shu |
Subject: |
[elpa] externals/ivy-posframe 9e01129 083/195: Remove ivy-posframe-setup |
Date: |
Sat, 3 Oct 2020 07:11:50 -0400 (EDT) |
branch: externals/ivy-posframe
commit 9e01129448c4fed0acfbf99a38981cb54179c697
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Remove ivy-posframe-setup
---
ivy-posframe.el | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index e6723b2..9b5b1bd 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -424,7 +424,15 @@ selection, non-nil otherwise."
"Enable ivy-posframe."
(interactive)
(require 'ivy)
- (ivy-posframe-setup)
+ ;; Add all display functions of ivy-posframe to
+ ;; `ivy-display-functions-props'.
+ (mapatoms
+ (lambda (func)
+ (when (and (functionp func)
+ (string-match-p "^ivy-posframe-display" (symbol-name func))
+ (not (assq func ivy-display-functions-props)))
+ (push `(,func :cleanup ivy-posframe-cleanup)
+ ivy-display-functions-props))))
(define-key ivy-minibuffer-map
[remap ivy-read-action] 'ivy-posframe-read-action)
(define-key ivy-minibuffer-map
@@ -434,17 +442,6 @@ selection, non-nil otherwise."
(advice-add 'ivy--minibuffer-setup :around #'ivy-posframe--minibuffer-setup)
(message "ivy-posframe is enabled, disabling it need to reboot emacs."))
-(defun ivy-posframe-setup ()
- "Add all display functions of ivy-posframe to
-`ivy-display-functions-props'."
- (mapatoms
- (lambda (func)
- (when (and (functionp func)
- (string-match-p "^ivy-posframe-display" (symbol-name func))
- (not (assq func ivy-display-functions-props)))
- (push `(,func :cleanup ivy-posframe-cleanup)
- ivy-display-functions-props)))))
-
(provide 'ivy-posframe)
;; Local Variables:
- [elpa] externals/ivy-posframe 3c3740e 142/195: Add ivy-posframe-lighter, (continued)
- [elpa] externals/ivy-posframe 3c3740e 142/195: Add ivy-posframe-lighter, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 6d697ff 190/195: Try to fix: Posframe max-width? #82, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe ae9bafe 191/195: (defvar avy-pre-action), Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 4242977 079/195: Remove #' (function quote) of `lambda`, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 0a870c1 080/195: Remove top-level ivy-posframe setup function executing, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 38aff80 084/195: Add ivy-posframe-demo, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 13180ce 087/195: Merge pull request #35 from conao3/fix-minibuffer-issue, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe ba1bc4f 092/195: Update prompt in dynamic collections, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 233a3ec 070/195: Fix Strange behaviour #25, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 1297ebc 078/195: Fix focus can go out of frame with multi line collections #31, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 9e01129 083/195: Remove ivy-posframe-setup,
Feng Shu <=
- [elpa] externals/ivy-posframe b1ecab7 096/195: Merge pull request #42 from tttuuu888/work, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 0a8cb5a 101/195: fix advice function style, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 441c1bf 150/195: Fix First line disappears with the specific condition. #47, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe dddbd8b 139/195: Remove ivy-posframe-display-function-list, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe b6afaf7 129/195: generate, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 19cc919 110/195: use function-alist instead of display-functions, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe ca2b6db 106/195: add disable mode code, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe e27b2b7 141/195: Remove ivy-posframe-additional-display-functions, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe b23cd5c 133/195: remove eval form, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 0032ed4 130/195: define define-display-function macro instead of eval form, Feng Shu, 2020/10/03