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

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

[elpa] externals/posframe c250771 40/40: Remove useless 'and


From: Feng Shu
Subject: [elpa] externals/posframe c250771 40/40: Remove useless 'and
Date: Wed, 5 Feb 2020 04:27:23 -0500 (EST)

branch: externals/posframe
commit c25077158980d8322f67fc59d999c2f6e8a020b2
Author: feng <feng@debian>
Commit: feng <feng@debian>

    Remove useless 'and
---
 posframe.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/posframe.el b/posframe.el
index 56b1a98..fe1abc5 100644
--- a/posframe.el
+++ b/posframe.el
@@ -584,7 +584,7 @@ You can use `posframe-delete-all' to delete all posframes."
       (cdr posframe--last-font-height-info)
     (let* ((font (when (and (integerp position)
                             (not (= position 1)))
-                   (font-at (if (and (>= position (point-max)))
+                   (font-at (if (>= position (point-max))
                                 (- (point-max) 1)
                               position))))
            (height (when (integerp position)



reply via email to

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