emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/lorem-ipsum a1d1a63b6d 13/30: add commentary


From: ELPA Syncer
Subject: [nongnu] elpa/lorem-ipsum a1d1a63b6d 13/30: add commentary
Date: Sun, 11 Dec 2022 20:59:22 -0500 (EST)

branch: elpa/lorem-ipsum
commit a1d1a63b6d7f5087f83b8fba4f9f9baecc4df4b8
Author: Joe Schafer <joe@jschaf.com>
Commit: Joe Schafer <joe@jschaf.com>

    add commentary
---
 lorem-ipsum.el | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/lorem-ipsum.el b/lorem-ipsum.el
index 9d8a5a8055..750d1e103b 100644
--- a/lorem-ipsum.el
+++ b/lorem-ipsum.el
@@ -35,6 +35,23 @@
 
 ;;; Commentary:
 
+;; Add this file to your `load-path'.  Use the default keybindings by
+;; adding the following to your .emacs file:
+;;
+;; (Lorem-ipsum-use-default-bindings)
+;;
+;; This will setup the folling keybindings:
+;;
+;; C-c l p: Lorem-ipsum-insert-paragraphs
+;; 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:
+;;
+;; (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)
 
 
 ;;; Code:
@@ -53,7 +70,8 @@
   (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)
-  (global-set-key (kbd "C-c l l") 'Lorem-ipsum-insert-list))
+  (global-set-key (kbd "C-c l l") 'Lorem-ipsum-insert-list)
+  )
 
 (defconst Lorem-ipsum-text
   '(("Lorem ipsum dolor sit amet, consectetuer adipiscing elit."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]