branch: externals/posframe commit 3a7dfbda0375b56d22b3b27b0b68bec118debd56 Merge: 739d8fd acf0fbe Author: tumashu <tuma...@163.com> Commit: GitHub <nore...@github.com>
Merge pull request #102 from tarsiiformes/silencio Silence byte-compiler --- posframe.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/posframe.el b/posframe.el index 1ea34f3..e517848 100644 --- a/posframe.el +++ b/posframe.el @@ -796,7 +796,8 @@ posframe from catching keyboard input if the window manager selects it." (redirect-frame-focus posframe--frame (frame-parent)))) (if (version< emacs-version "27.1") - (add-hook 'focus-in-hook #'posframe--redirect-posframe-focus) + (with-no-warnings + (add-hook 'focus-in-hook #'posframe--redirect-posframe-focus)) (add-function :after after-focus-change-function #'posframe--redirect-posframe-focus)) (defun posframe--mouse-banish (parent-frame &optional posframe)