branch: externals/ivy-posframe
commit 45dc8ee1aa738c51767867e5d90cd92a3a5c5118
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
Remove ivy-posframe-demo, ivy-posframe-mode can do same job
---
ivy-posframe.el | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 95d176f..ffd6b41 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -537,21 +537,6 @@ selection, non-nil otherwise."
(ivy-posframe-mode 1)
(message "ivy-posframe: suggest use `ivy-posframe-mode' instead."))
-;;;###autoload
-(defun ivy-posframe-demo ()
- "Toggle a demo config of ivy-posframe.
-This function is ONLY used to test ivy-posframe."
- (interactive)
- (ivy-posframe-mode t)
- (let ((config '(t . ivy-posframe-display-at-frame-center)))
- (if (member config ivy-display-functions-alist)
- (progn
- (setq ivy-display-functions-alist
- (remove config ivy-display-functions-alist))
- (message "Ivy-posframe: Demo is disabled."))
- (push config ivy-display-functions-alist)
- (message "Ivy-posframe: Demo is enabled."))))
-
(provide 'ivy-posframe)
;; Local Variables: