[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/lorem-ipsum a2a45dd401 06/30: Merge pull request #1 from j
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/lorem-ipsum a2a45dd401 06/30: Merge pull request #1 from jschaf/tweaks |
Date: |
Sun, 11 Dec 2022 20:59:21 -0500 (EST) |
branch: elpa/lorem-ipsum
commit a2a45dd4018585f3978ead20c8dcf8d899c33a53
Merge: 60045e7d1d 65b486c051
Author: Joe Schafer <joe@jschaf.com>
Commit: Joe Schafer <joe@jschaf.com>
Merge pull request #1 from jschaf/tweaks
Tweaks
---
README.md | 8 ++++++++
lorem-ipsum.el | 17 +++++++----------
2 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index e69de29bb2..0222820755 100644
--- a/README.md
+++ b/README.md
@@ -0,0 +1,8 @@
+# Lorem Ipsum for Emacs #
+
+Add filler lorem ipsum text to Emacs
+
+## Installation
+
+
+## Setup
diff --git a/lorem-ipsum.el b/lorem-ipsum.el
index bc627b7b7c..45872525e1 100644
--- a/lorem-ipsum.el
+++ b/lorem-ipsum.el
@@ -4,8 +4,7 @@
;; and Marcus Tullius Cicero
;;
;; version :
-(defconst lorem-ipsum-version "0.1")
-;; last update: 16/09/2003
+(defconst lorem-ipsum-version "0.2")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Copyright (c) 2003 Jean-Philippe Theberge
@@ -119,9 +118,8 @@
(progn
(insert (concat
(mapconcat 'identity
- (nth (if (interactive-p) 0 (random (length
Lorem-ipsum-text)))
- Lorem-ipsum-text) " ")
- Lorem-ipsum-paragraph-separator))
+ (nth (random (length Lorem-ipsum-text))
+ Lorem-ipsum-text)
Lorem-ipsum-sentence-separator) Lorem-ipsum-paragraph-separator))
(Lorem-ipsum-insert-paragraphs (- num 1)))))
(defun Lorem-ipsum-insert-sentences (&optional num)
@@ -130,8 +128,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)
@@ -139,10 +137,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, 2022/12/11
- [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 <=
- [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
- [nongnu] elpa/lorem-ipsum 57682a5d6b 23/30: Add MELPA installation instructions, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 5857686989 20/30: change Lorem to lorem, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 7268e111f9 25/30: Insert list beginning, ELPA Syncer, 2022/12/11