[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/popup 098170f 006/184: Added :always option for :scroll-ba
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/popup 098170f 006/184: Added :always option for :scroll-bar argument. |
Date: |
Wed, 6 Oct 2021 00:00:56 -0400 (EDT) |
branch: elpa/popup
commit 098170f2b5f29a836b5d1ebf56eadeb088b01cff
Author: Tomohiro Matsuyama <tomo@cx4a.org>
Commit: Tomohiro Matsuyama <tomo@cx4a.org>
Added :always option for :scroll-bar argument.
---
popup.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/popup.el b/popup.el
index f61b8c8..1c28d86 100644
--- a/popup.el
+++ b/popup.el
@@ -649,7 +649,8 @@ PARENT-OFFSET is a row offset from the parent popup."
for empty-char = (propertize " " 'face face)
for scroll-bar-char = (if scroll-bar
(cond
- ((<= page-size 1)
+ ((and (not (eq scroll-bar :always))
+ (<= page-size 1))
empty-char)
((and (> page-size 1)
(>= cursor (* page-index page-size))
@@ -1246,4 +1247,4 @@ the sub menu."
map))
(provide 'popup)
-;;; popup.el ends here
+;;; popup.el ends here
\ No newline at end of file
- [nongnu] elpa/popup 795df55 150/184: Merge pull request #106 from auto-complete/issue-105, (continued)
- [nongnu] elpa/popup 795df55 150/184: Merge pull request #106 from auto-complete/issue-105, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup ee81f54 149/184: Fix faces propertized by under popup tooltip, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup c832145 145/184: Debian and Ubuntu installation instructions, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 38156f0 182/184: Don’t use ‘mapcar’ for side effect, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 8a5d215 181/184: Add a LICENSE file., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 0200b53 176/184: Add br, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup cf899f8 184/184: Merge pull request #125 from phst/license, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 2808cc8 001/184: Import from auto-complete repository., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 7743199 075/184: Remove meaningless let., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup b5e13a8 044/184: update README.md to tweak typos and grammar, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 098170f 006/184: Added :always option for :scroll-bar argument.,
ELPA Syncer <=
- [nongnu] elpa/popup 2cad059 015/184: Initial commit, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 03b23bf 017/184: Merge branch 'master' of github.com:m2ym/popup-el, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup c85ccd3 013/184: Use inhibit-read-only instead of buffer-read-only, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 2609811 022/184: Add Travis CI configuration, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup e76230b 059/184: Add summary-face keyword argument to popup-set-line-item, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup ab23548 031/184: Change popup-test-helper-overlays-to-text spec and function name to return overlays buffer., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 498cb64 061/184: Define popup-summary-face, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 54ed4bd 048/184: Add test case:popup-next, popup-previous, popup-select, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup fd8a372 039/184: Remove unused code., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 72c6e4d 027/184: Port some test cases from popup-interactive-test.el, ELPA Syncer, 2021/10/06