summaryrefslogtreecommitdiff
path: root/modules/lorem-generator.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-26 23:06:31 -0500
committerCraig Jennings <c@cjennings.net>2025-10-26 23:06:31 -0500
commitcd64af4642fd54a4d7b7be93bfb317fc64f623a6 (patch)
tree3c8a0e3814d987137ab8a987382f1237d0c97324 /modules/lorem-generator.el
parentdf21760636366305a4e2170516479ae7792dab3b (diff)
chore: Remove redundant autoload directives from modules
Remove unnecessary autoload directives from various functions across multiple modules, cleaning up the codebase and improving readability. These directives were redundant and not needed for the current project setup.
Diffstat (limited to 'modules/lorem-generator.el')
-rw-r--r--modules/lorem-generator.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/lorem-generator.el b/modules/lorem-generator.el
index 6148dfdc..6f0520c6 100644
--- a/modules/lorem-generator.el
+++ b/modules/lorem-generator.el
@@ -124,25 +124,21 @@
(when candidates
(nth (random (length candidates)) candidates))))
-;;;###autoload
(defvar cj/lipsum-chain (cj/markov-chain-create)
"Global Markov chain for lipsum generation.")
-;;;###autoload
(defun cj/lipsum-reset ()
"Reset the global lipsum Markov chain."
(interactive)
(setq cj/lipsum-chain (cj/markov-chain-create))
(message "cj/lipsum-chain reset."))
-;;;###autoload
(defun cj/lipsum-learn-region (beg end)
"Learn text from region."
(interactive "r")
(cj/markov-learn cj/lipsum-chain (buffer-substring-no-properties beg end))
(message "Learned from region."))
-;;;###autoload
(defun cj/lipsum-learn-buffer ()
"Learn from entire buffer."
(interactive)
@@ -150,7 +146,6 @@
(buffer-substring-no-properties (point-min) (point-max)))
(message "Learned from buffer."))
-;;;###autoload
(defun cj/lipsum-learn-file (file)
"Learn from FILE containing plain text."
(interactive "fTrain from file: ")
@@ -159,12 +154,10 @@
(cj/markov-learn cj/lipsum-chain (buffer-string)))
(message "Learned from file: %s" file))
-;;;###autoload
(defun cj/lipsum (n)
"Return N words of lorem ipsum."
(cj/markov-generate cj/lipsum-chain n '("Lorem" "ipsum")))
-;;;###autoload
(defun cj/lipsum-insert (n)
"Insert N words of lorem ipsum at point."
(interactive "nNumber of words: ")
@@ -176,7 +169,6 @@
(defconst cj/lipsum-title-max 8)
(defconst cj/lipsum-title-small 3)
-;;;###autoload
(defun cj/lipsum-title ()
"Generate a pseudo-Latin title."
(interactive)
@@ -200,7 +192,6 @@
;;; Paragraphs
-;;;###autoload
(defun cj/lipsum-paragraphs (count &optional min max)
"Insert COUNT paragraphs of lipsum.