branch: externals/substitute
commit bd43364f25643a2ab9a10890c39a578b739eef67
Author: Morgan Willcock <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Make command autoloads interactive
This allows substitute commands to be used without manually loading
the feature or assigning key-bindings.
---
substitute.el | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/substitute.el b/substitute.el
index 332bef3bab..258dae66b7 100644
--- a/substitute.el
+++ b/substitute.el
@@ -413,42 +413,42 @@ same as always calling this command with FIXED-CASE." doc)
current-prefix-arg)))
(substitute--operate target sub ,scope fixed-case)))
-;;;###autoload (autoload 'substitute-target-in-buffer "substitute")
+;;;###autoload (autoload 'substitute-target-in-buffer "substitute" nil t)
(substitute-define-substitute-command
substitute-target-in-buffer
"throughout the buffer")
-;;;###autoload (autoload 'substitute-target-in-defun "substitute")
+;;;###autoload (autoload 'substitute-target-in-defun "substitute" nil t)
(substitute-define-substitute-command
substitute-target-in-defun
"in the defun (per `narrow-to-defun')"
'defun)
-;;;###autoload (autoload 'substitute-target-in-defun-and-below "substitute")
+;;;###autoload (autoload 'substitute-target-in-defun-and-below "substitute"
nil t)
(substitute-define-substitute-command
substitute-target-in-defun-and-below
"in the defun (per `narrow-to-defun') and going down"
'defun-and-below)
-;;;###autoload (autoload 'substitute-target-in-outline "substitute")
+;;;###autoload (autoload 'substitute-target-in-outline "substitute" nil t)
(substitute-define-substitute-command
substitute-target-in-outline
"in the current outline level"
'outline)
-;;;###autoload (autoload 'substitute-target-in-page "substitute")
+;;;###autoload (autoload 'substitute-target-in-page "substitute" nil t)
(substitute-define-substitute-command
substitute-target-in-page
"in the current page"
'page)
-;;;###autoload (autoload 'substitute-target-in-paragraph "substitute")
+;;;###autoload (autoload 'substitute-target-in-paragraph "substitute" nil t)
(substitute-define-substitute-command
substitute-target-in-paragraph
"in the current paragraph"
'paragraph)
-;;;###autoload (autoload 'substitute-target-below-point "substitute")
+;;;###autoload (autoload 'substitute-target-below-point "substitute" nil t)
(substitute-define-substitute-command
substitute-target-below-point
"to the end of the buffer"
@@ -457,7 +457,7 @@ same as always calling this command with FIXED-CASE." doc)
(defalias 'substitute-target-to-end-of-buffer
'substitute-target-below-point)
-;;;###autoload (autoload 'substitute-target-above-point "substitute")
+;;;###autoload (autoload 'substitute-target-above-point "substitute" nil t)
(substitute-define-substitute-command
substitute-target-above-point
"to the beginning of the buffer"