branch: externals/ivy-posframe
commit 7567182edfddbd3f961de37d39eb1b77583951c6
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>

    let ivy-posframe-enable = (ivy-posframe-mode 1)
---
 ivy-posframe.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ivy-posframe.el b/ivy-posframe.el
index 5d75fe6..95d176f 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -532,7 +532,10 @@ selection, non-nil otherwise."
       (mapcar (lambda (elm) (advice-remove (car elm) (cdr elm))) advices))))
 
 ;;;###autoload
-(defalias 'ivy-posframe-enable 'ivy-posframe-mode)
+(defun ivy-posframe-enable ()
+  (interactive)
+  (ivy-posframe-mode 1)
+  (message "ivy-posframe: suggest use `ivy-posframe-mode' instead."))
 
 ;;;###autoload
 (defun ivy-posframe-demo ()

Reply via email to