branch: externals/substitute
commit 3c91a4a10063d1d0624eacb88a0e92749db52c7a
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Define aliases for two commands
---
substitute.el | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/substitute.el b/substitute.el
index 93c2df63f0..c24b4d0c61 100644
--- a/substitute.el
+++ b/substitute.el
@@ -220,12 +220,18 @@ boundaries." doc)
"to the end of the buffer"
'below)
+(defalias 'substitute-target-to-end-of-buffer
+ 'substitute-target-below-point)
+
;;;###autoload
(substitute-command
substitute-target-above-point
"to the beginning of the buffer"
'above)
+(defalias 'substitute-target-to-beginning-of-buffer
+ 'substitute-target-below-point)
+
(defun substitute-report-operation (target sub count scope)
"Print message of substitution.
Report COUNTth substitutions of TARGET with SUB in SCOPE."