emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/posframe 37ed96f 08/13: * posframe.el (posframe--frame,


From: Feng Shu
Subject: [elpa] externals/posframe 37ed96f 08/13: * posframe.el (posframe--frame, posframe-show): Remove posframe-default-initialize-function
Date: Sat, 8 Jun 2019 19:42:28 -0400 (EDT)

branch: externals/posframe
commit 37ed96f6271f282d9cae5510eef9d7084f0bfbd6
Author: Feng Shu <address@hidden>
Commit: Feng Shu <address@hidden>

    * 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]