branch: externals/posframe commit 37ed96f6271f282d9cae5510eef9d7084f0bfbd6 Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@163.com>
* posframe.el (posframe--frame, posframe-show): Remove posframe-default-initialize-function --- posframe.el | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/posframe.el b/posframe.el index 7f68a5c..88b6019 100644 --- a/posframe.el +++ b/posframe.el @@ -134,13 +134,6 @@ :group 'posframe :type 'boolean) -(defcustom posframe-default-initialize-function nil - "The default :initialize function of `posframe-show'. - -If :initialize argument of `posframe-show' is nil, this function -will be called as fallback." - :type 'function) - (defvar-local posframe--frame nil "Record posframe's frame.") @@ -443,7 +436,7 @@ you can use `posframe-delete-all' to delete all posframes." ;; Initialize (unless posframe--initialized-p - (let ((func (or initialize posframe-default-initialize-function))) + (let ((func initialize)) (when (functionp func) (funcall func) (setq posframe--initialized-p t))))