[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/lorem-ipsum 590301d2c3 27/30: Fix some minor packaging iss
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/lorem-ipsum 590301d2c3 27/30: Fix some minor packaging issues and warnings |
Date: |
Sun, 11 Dec 2022 20:59:23 -0500 (EST) |
branch: elpa/lorem-ipsum
commit 590301d2c3aabb6dcd0af0a567b278056009ab16
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Joe Schafer <joe.schafer@delta46.us>
Fix some minor packaging issues and warnings
---
lorem-ipsum.el | 43 +++++++++++++++++++++++--------------------
1 file changed, 23 insertions(+), 20 deletions(-)
diff --git a/lorem-ipsum.el b/lorem-ipsum.el
index d8a347a30c..c69e0346ff 100644
--- a/lorem-ipsum.el
+++ b/lorem-ipsum.el
@@ -1,11 +1,12 @@
-;;; lorem-ipsum.el --- Insert dummy pseudo Latin text.
+;;; lorem-ipsum.el --- Insert dummy pseudo Latin text
;; Copyright (c) 2003 Jean-Philippe Theberge
;; Author: Jean-Philippe Theberge (jphil21@sourceforge.net)
;; Maintainer: Joe Schafer (joe@jschaf.com)
-;; Package-Version: 0.2
+;; Version: 0.2
;; Keywords: tools, language, convenience
+;; URL: https://github.com/jschaf/emacs-lorem-ipsum
;; Special Thanks: The emacswiki users, the #emacs@freenode.net citizens
;; and Marcus Tullius Cicero
@@ -26,13 +27,7 @@
;; General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with lorem-ipsum.el. If not, see <http://www.gnu.org/licenses/>.
-
-;;; History:
-
-;; Version 0.1 released by Jean-Philippe Theberge in 2003. After
-;; attempting to contact Jean-Philippe, Joe Schafer took over as
-;; maintainer and published to Github.
+;; along with lorem-ipsum.el. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
@@ -40,7 +35,7 @@
;; text into a buffer.
;;
;; To install manually, add this file to your `load-path'. Use the
-;; default keybindings by adding the following to your .emacs file:
+;; default keybindings by adding the following to your init file:
;;
;; (lorem-ipsum-use-default-bindings)
;;
@@ -50,13 +45,18 @@
;; C-c l s: lorem-ipsum-insert-sentences
;; C-c l l: lorem-ipsum-insert-list
;;
-;; If you want a different keybinding, say you want the prefix C-c C-l, use a
variation of the
-;; following:
+;; If you want a different keybinding, say you want the prefix C-c C-l, use a
+;; variation of the following:
;;
;; (global-set-key (kbd "C-c C-l s") 'lorem-ipsum-insert-sentences)
;; (global-set-key (kbd "C-c C-l p") 'lorem-ipsum-insert-paragraphs)
;; (global-set-key (kbd "C-c C-l l") 'lorem-ipsum-insert-list)
+;;; History:
+
+;; Version 0.1 released by Jean-Philippe Theberge in 2003. After
+;; attempting to contact Jean-Philippe, Joe Schafer took over as
+;; maintainer and published to Github.
;;; Code:
@@ -69,7 +69,7 @@
;;;###autoload
(defun lorem-ipsum-use-default-bindings ()
- "Use the default keybindings of C-c l [spl]."
+ "Use the default keybindings of `C-c l [spl]'."
(interactive)
(global-set-key (kbd "C-c l s") 'lorem-ipsum-insert-sentences)
(global-set-key (kbd "C-c l p") 'lorem-ipsum-insert-paragraphs)
@@ -150,13 +150,16 @@
(make-variable-buffer-local 'lorem-ipsum-list-item-end)
(make-variable-buffer-local 'lorem-ipsum-list-end)
-(add-hook 'sgml-mode-hook (lambda ()
- (setq lorem-ipsum-paragraph-separator "<br><br>\n"
- lorem-ipsum-sentence-separator " "
- lorem-ipsum-list-beginning "<ul>\n"
- lorem-ipsum-list-bullet "<li>"
- lorem-ipsum-list-item-end "</li>\n"
- lorem-ipsum-list-end "</ul>\n")))
+(defun lorem-ipsum-sgml-mode-hook ()
+ "Set some variables for lorem-ipsum in `sgml-mode'."
+ (setq lorem-ipsum-paragraph-separator "<br><br>\n"
+ lorem-ipsum-sentence-separator " "
+ lorem-ipsum-list-beginning "<ul>\n"
+ lorem-ipsum-list-bullet "<li>"
+ lorem-ipsum-list-item-end "</li>\n"
+ lorem-ipsum-list-end "</ul>\n"))
+
+(add-hook 'sgml-mode-hook #'lorem-ipsum-sgml-mode-hook)
;;;###autoload
(defun lorem-ipsum-insert-paragraphs (&optional num)
- [nongnu] elpa/lorem-ipsum 57682a5d6b 23/30: Add MELPA installation instructions, (continued)
- [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
- [nongnu] elpa/lorem-ipsum 861e29b034 28/30: Use lexical-binding, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 3d0152632d 16/30: add detail to README.md, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 2242006bd0 10/30: fix provide symbol to Lorem-ipsum, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum a19b5372ff 14/30: fix lonely paren, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum c287072c46 17/30: fix table formatting, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 9ee134c149 19/30: expand on manual installation, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum da75c155da 26/30: Merge pull request #5 from nja/master, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 590301d2c3 27/30: Fix some minor packaging issues and warnings,
ELPA Syncer <=
- [nongnu] elpa/lorem-ipsum 7b0ff165d7 15/30: remove errant newline, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 5c5058ffff 18/30: put key sequences in code blocks, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 4b39f6fed4 24/30: Merge pull request #2 from peterwvj/patch-1, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 63e5e5f21c 30/30: Bump version to 0.3, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 5d35808d77 08/30: add autoload cookies to entry functions, ELPA Syncer, 2022/12/11
- [nongnu] elpa/lorem-ipsum 4c7a9df33e 29/30: Fix some minor stylistic issues, ELPA Syncer, 2022/12/11