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

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

[nongnu] elpa/lorem-ipsum e265ac064a 12/30: add interactive to lorem-ips


From: ELPA Syncer
Subject: [nongnu] elpa/lorem-ipsum e265ac064a 12/30: add interactive to lorem-ipsum-use-default-bindings
Date: Sun, 11 Dec 2022 20:59:22 -0500 (EST)

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

    add interactive to lorem-ipsum-use-default-bindings
---
 lorem-ipsum.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lorem-ipsum.el b/lorem-ipsum.el
index 358cb49831..9d8a5a8055 100644
--- a/lorem-ipsum.el
+++ b/lorem-ipsum.el
@@ -50,9 +50,10 @@
 ;;;###autoload
 (defun Lorem-ipsum-use-default-bindings ()
   "Use the default keybindings of C-c l [spl]."
-    (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))
+  (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))
 
 (defconst Lorem-ipsum-text
   '(("Lorem ipsum dolor sit amet, consectetuer adipiscing elit."



reply via email to

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