[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/lorem-ipsum c317c2f1b7 03/30: remove obsolete function int
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/lorem-ipsum c317c2f1b7 03/30: remove obsolete function interactive-p |
Date: |
Sun, 11 Dec 2022 20:59:21 -0500 (EST) |
branch: elpa/lorem-ipsum
commit c317c2f1b7454f038172f981c414a96a1e3d24d1
Author: Joe Schafer <joe@jschaf.com>
Commit: Joe Schafer <joe@jschaf.com>
remove obsolete function interactive-p
---
lorem-ipsum.el | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/lorem-ipsum.el b/lorem-ipsum.el
index 052dd5c28c..0401604c62 100644
--- a/lorem-ipsum.el
+++ b/lorem-ipsum.el
@@ -119,7 +119,7 @@
(progn
(insert (concat
(mapconcat 'identity
- (nth (if (interactive-p) 0 (random (length
Lorem-ipsum-text)))
+ (nth (random (length Lorem-ipsum-text))
Lorem-ipsum-text)
Lorem-ipsum-sentence-separator) Lorem-ipsum-paragraph-separator))
(Lorem-ipsum-insert-paragraphs (- num 1)))))
@@ -129,8 +129,8 @@
(if (> num 0)
(progn
(let ((para
- (nth (if (interactive-p) 0 (random (length Lorem-ipsum-text)))
Lorem-ipsum-text)))
- (insert (concat (nth (if (interactive-p) 0 (random (length para)))
para) Lorem-ipsum-sentence-separator)))
+ (nth (random (length Lorem-ipsum-text)) Lorem-ipsum-text)))
+ (insert (concat (nth (random (length para)) para)
Lorem-ipsum-sentence-separator)))
(Lorem-ipsum-insert-sentences (- num 1)))))
(defun Lorem-ipsum-insert-list (&optional num)
@@ -138,10 +138,9 @@
(if (not num)(setq num 1))
(if (> num 0)
(progn
- (if (interactive-p) (insert Lorem-ipsum-list-beginning))
- (let ((para (nth (if (interactive-p) 0 (random (length
Lorem-ipsum-text))) Lorem-ipsum-text)))
+ (let ((para (nth (random (length Lorem-ipsum-text)) Lorem-ipsum-text)))
(insert (concat Lorem-ipsum-list-bullet
- (nth (if (interactive-p) 0 (random (length para)))
para)
+ (nth (random (length para)) para)
Lorem-ipsum-list-item-end)))
(Lorem-ipsum-insert-list (- num 1)))
(insert Lorem-ipsum-list-end)))
- [nongnu] branch elpa/lorem-ipsum created (now 63e5e5f21c), ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 60045e7d1d 01/30: initial commit, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum eaef702938 02/30: replace " " with lorem-ipsum-paragraph-separator, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum c317c2f1b7 03/30: remove obsolete function interactive-p,
ELPA Syncer <=
- [nongnu] elpa/lorem-ipsum bdbe8a1fb1 07/30: fix comments and add docstrings, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 65b486c051 05/30: bump version to 0.2, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum a2a45dd401 06/30: Merge pull request #1 from jschaf/tweaks, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum cc7f00cfa5 09/30: add convenience keyword, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 7416d71dfd 11/30: add group and default keybindings, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum bfcb7cd50a 04/30: add README.md, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum e265ac064a 12/30: add interactive to lorem-ipsum-use-default-bindings, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum a1d1a63b6d 13/30: add commentary, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum db7e5433e1 21/30: add package version and additional commentary, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 893a275057 22/30: move special thanks below package metadata, ELPA Syncer, 2022/12/11