[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/substitute 641035921d: Add missing autoload from the ma
From: |
ELPA Syncer |
Subject: |
[elpa] externals/substitute 641035921d: Add missing autoload from the macro |
Date: |
Tue, 17 Jan 2023 01:58:11 -0500 (EST) |
branch: externals/substitute
commit 641035921d3e3fb3f177f124d09642d60489269a
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add missing autoload from the macro
---
substitute.el | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/substitute.el b/substitute.el
index a44a73b056..390eb63cd8 100644
--- a/substitute.el
+++ b/substitute.el
@@ -256,6 +256,7 @@ Report a `user-error' if no target is found."
(format "\\_<%s\\_>" thing)
(user-error "No substitution target at point")))))
+;;;###autoload
(defmacro substitute-command (fn doc &optional scope)
"Produce substitute command using FN, DOC, and SCOPE."
`(defun ,fn (target sub)
@@ -273,18 +274,15 @@ boundaries." doc)
(substitute--prompt target ,scope))))
(substitute--operate target sub ,scope)))
-;;;###autoload
(substitute-command
substitute-target-in-buffer
"throughout the buffer")
-;;;###autoload
(substitute-command
substitute-target-in-defun
"in the defun (per `narrow-to-defun')"
'defun)
-;;;###autoload
(substitute-command
substitute-target-below-point
"to the end of the buffer"
@@ -293,7 +291,6 @@ boundaries." doc)
(defalias 'substitute-target-to-end-of-buffer
'substitute-target-below-point)
-;;;###autoload
(substitute-command
substitute-target-above-point
"to the beginning of the buffer"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/substitute 641035921d: Add missing autoload from the macro,
ELPA Syncer <=