branch: externals/posframe
commit 8a9af547e6fc63e9a1c4741349fabdf625f703c4
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
* posframe.el (posframe-show): let posframe-show returns the frame
---
posframe.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/posframe.el b/posframe.el
index f5ed990..7df03fe 100644
--- a/posframe.el
+++ b/posframe.el
@@ -575,8 +575,8 @@ You can use `posframe-delete-all' to delete all posframes."
;; Force raise the current posframe.
(raise-frame posframe--frame)
- ;;Do not return anything.
- nil)))
+ ;; Return posframe
+ posframe)))
(defun posframe--get-font-height (position)
"Get the font's height at POSITION."