[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/posframe 34846bd 1/2: * posframe.el (posframe-delete):
From: |
ELPA Syncer |
Subject: |
[elpa] externals/posframe 34846bd 1/2: * posframe.el (posframe-delete): Update docstring. |
Date: |
Wed, 21 Apr 2021 21:57:17 -0400 (EDT) |
branch: externals/posframe
commit 34846bd210a152d98bc9676ce8f09648b4b6fb5f
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* posframe.el (posframe-delete): Update docstring.
---
posframe.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/posframe.el b/posframe.el
index aa08aea..47f85c8 100644
--- a/posframe.el
+++ b/posframe.el
@@ -980,7 +980,10 @@ Note: This function is called in `post-command-hook'."
(defun posframe-delete (buffer-or-name)
"Delete posframe pertaining to BUFFER-OR-NAME and kill the buffer.
-BUFFER-OR-NAME can be a buffer or a buffer name."
+BUFFER-OR-NAME can be a buffer or a buffer name.
+
+This function is not commonly used, for delete and recreate
+posframe is very very slowly, `posframe-hide' is more useful."
(posframe-delete-frame buffer-or-name)
(posframe--kill-buffer buffer-or-name))