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

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

[elpa] externals/ivy-posframe d70aa81 082/195: Merge pull request #32 fr


From: Feng Shu
Subject: [elpa] externals/ivy-posframe d70aa81 082/195: Merge pull request #32 from conao3/refactoring/lambda
Date: Sat, 3 Oct 2020 07:11:49 -0400 (EDT)

branch: externals/ivy-posframe
commit d70aa81d7b777795c90ca926ae36d6e7c74ced8f
Merge: 46b4089 4242977
Author: tumashu <tumashu@163.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #32 from conao3/refactoring/lambda
    
    Remove #' (function quote) of lambda
---
 ivy-posframe.el | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/ivy-posframe.el b/ivy-posframe.el
index 906d878..e6723b2 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -246,9 +246,9 @@ This variable is useful for `ivy-posframe-read-action' .")
 
 (defun ivy-posframe-display-at-frame-bottom-window-center (str)
   (ivy-posframe--display
-   str #'(lambda (info)
-           (cons (car (posframe-poshandler-window-center info))
-                 (cdr (posframe-poshandler-frame-bottom-left-corner info))))))
+   str (lambda (info)
+         (cons (car (posframe-poshandler-window-center info))
+               (cdr (posframe-poshandler-frame-bottom-left-corner info))))))
 
 (defun ivy-posframe-display-at-point (str)
   (ivy-posframe--display str #'posframe-poshandler-point-bottom-left-corner))
@@ -438,12 +438,12 @@ selection, non-nil otherwise."
   "Add all display functions of ivy-posframe to
 `ivy-display-functions-props'."
   (mapatoms
-   #'(lambda (func)
-       (when (and (functionp func)
-                  (string-match-p "^ivy-posframe-display" (symbol-name func))
-                  (not (assq func ivy-display-functions-props)))
-         (push `(,func :cleanup ivy-posframe-cleanup)
-               ivy-display-functions-props)))))
+   (lambda (func)
+     (when (and (functionp func)
+                (string-match-p "^ivy-posframe-display" (symbol-name func))
+                (not (assq func ivy-display-functions-props)))
+       (push `(,func :cleanup ivy-posframe-cleanup)
+             ivy-display-functions-props)))))
 
 (provide 'ivy-posframe)
 



reply via email to

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