diff options
| author | Craig Jennings <c@cjennings.net> | 2025-10-26 23:06:31 -0500 | 
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-10-26 23:06:31 -0500 | 
| commit | cd64af4642fd54a4d7b7be93bfb317fc64f623a6 (patch) | |
| tree | 3c8a0e3814d987137ab8a987382f1237d0c97324 /modules/lipsum-generator.el | |
| parent | df21760636366305a4e2170516479ae7792dab3b (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/lipsum-generator.el')
| -rw-r--r-- | modules/lipsum-generator.el | 9 | 
1 files changed, 0 insertions, 9 deletions
| diff --git a/modules/lipsum-generator.el b/modules/lipsum-generator.el index b328b989..11ed8caa 100644 --- a/modules/lipsum-generator.el +++ b/modules/lipsum-generator.el @@ -129,25 +129,21 @@ Defaults to 'liber-primus.txt' in the modules directory."  	(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) @@ -155,7 +151,6 @@ Defaults to 'liber-primus.txt' in the modules directory."  				   (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: ") @@ -164,12 +159,10 @@ Defaults to 'liber-primus.txt' in the modules directory."  	(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: ") @@ -181,7 +174,6 @@ Defaults to 'liber-primus.txt' in the modules directory."  (defconst cj/lipsum-title-max 8)  (defconst cj/lipsum-title-small 3) -;;;###autoload  (defun cj/lipsum-title ()    "Generate a pseudo-Latin title."    (interactive) @@ -205,7 +197,6 @@ Defaults to 'liber-primus.txt' in the modules directory."  ;;; Paragraphs -;;;###autoload  (defun cj/lipsum-paragraphs (count &optional min max)    "Insert COUNT paragraphs of lipsum.  Each paragraph has a random length between MIN and MAX words. | 
