[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/popup 38156f0 182/184: Don’t use ‘mapcar’ for side effect
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/popup 38156f0 182/184: Don’t use ‘mapcar’ for side effect |
Date: |
Wed, 6 Oct 2021 00:01:39 -0400 (EDT) |
branch: elpa/popup
commit 38156f027a31b305b49dcce8da70a5d86a0ab8eb
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>
Don’t use ‘mapcar’ for side effect
---
popup.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/popup.el b/popup.el
index 4fee3ac..49a7052 100644
--- a/popup.el
+++ b/popup.el
@@ -245,11 +245,11 @@ ITEM is not string."
Optional argument REP is the replacement string of non-displayable character."
(unless rep (setq rep ""))
(let ((result ""))
- (mapcar (lambda (ch)
- (setq result (concat result
- (if (char-displayable-p ch) (string ch)
- rep))))
- str)
+ (mapc (lambda (ch)
+ (setq result (concat result
+ (if (char-displayable-p ch) (string ch)
+ rep))))
+ str)
result))
(cl-defun popup-make-item (name
- [nongnu] elpa/popup d1dd7c4 124/184: Merge pull request #81 from auto-complete/fix-readme-about-installation, (continued)
- [nongnu] elpa/popup d1dd7c4 124/184: Merge pull request #81 from auto-complete/fix-readme-about-installation, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 1f1f7a0 120/184: refactoring #80, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup bb51a53 107/184: Merge branch 'add-initial-index', ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup f06712a 125/184: Merge pull request #74 from kenbeese/fixed-display-with-invisible-overlays, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup b8874a4 121/184: bump up version, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 477649c 103/184: remove .gitmodules, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 51b3f59 133/184: Fix for Emacs 24.5 issue, ELPA Syncer, 2021/10/06
- [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 <=
- [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, 2021/10/06
- [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