[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/popper f9fef8192a 084/102: Fix popper-mode-line not res
From: |
ELPA Syncer |
Subject: |
[elpa] externals/popper f9fef8192a 084/102: Fix popper-mode-line not respecting nil. |
Date: |
Fri, 8 Sep 2023 15:58:55 -0400 (EDT) |
branch: externals/popper
commit f9fef8192a7813903e73abeb46be58df16916e4c
Author: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Fix popper-mode-line not respecting nil.
---
popper.el | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/popper.el b/popper.el
index 037ca420d3..43ff6bdd97 100644
--- a/popper.el
+++ b/popper.el
@@ -464,14 +464,15 @@ a popup buffer to open."
(defun popper--modified-mode-line ()
"Return modified mode-line string."
- (if (and popper-mode-line (consp mode-line-format))
- (if (member popper-mode-line mode-line-format)
- mode-line-format
- (append (cl-subseq (default-value 'mode-line-format) 0
popper-mode-line-position)
- (list popper-mode-line
- (nthcdr popper-mode-line-position
- (default-value 'mode-line-format)))))
- mode-line-format))
+ (when popper-mode-line
+ (if (consp mode-line-format)
+ (if (member popper-mode-line mode-line-format)
+ mode-line-format
+ (append (cl-subseq (default-value 'mode-line-format) 0
popper-mode-line-position)
+ (list popper-mode-line
+ (nthcdr popper-mode-line-position
+ (default-value 'mode-line-format)))))
+ mode-line-format)))
(defun popper--restore-mode-lines (win-buf-alist)
"Restore the default value of `mode-line-format'.
- [elpa] externals/popper da70c8296a 092/102: popper-echo.el: Tweak popper echo display format, (continued)
- [elpa] externals/popper da70c8296a 092/102: popper-echo.el: Tweak popper echo display format, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 76b1a1f1bc 094/102: popper-echo: Tweak popper group display, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 809ec965d8 097/102: popper: popper-cycle can cycle backwards, ELPA Syncer, 2023/09/08
- [elpa] externals/popper fe4f0b3b8b 100/102: popper.el, README: Release version 0.4.6, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 031e4d093c 102/102: popper: Update defcustom for popper-reference-buffers, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 3406efb1df 088/102: Fix byte-compile warning in popper-echo, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 71bbc5fc10 096/102: popper: Handle atomic window popups, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 793aef4e5f 099/102: popper.el: Documentation changes for ELPA, ELPA Syncer, 2023/09/08
- [elpa] externals/popper ecc01a46b0 101/102: popper: Revert type natnum to integer, ELPA Syncer, 2023/09/08
- [elpa] externals/popper 38811f9c09 014/102: project root integrated into popper-popup-status, ELPA Syncer, 2023/09/08
- [elpa] externals/popper f9fef8192a 084/102: Fix popper-mode-line not respecting nil.,
ELPA Syncer <=
- [elpa] externals/popper 527a85c491 079/102: Fix setup instructions (non use-package) for popper-echo #21, ELPA Syncer, 2023/09/08
- [elpa] externals/popper e399120223 095/102: popper-echo: Fix string truncation, ELPA Syncer, 2023/09/08