branch: externals/substitute
commit 45096c23d22958b86be8eb7f2af3609ac1dbc0f4
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Update symbol of command for clarity
---
 README.md     | 2 +-
 substitute.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index f3e0b08c64..734835ac4a 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ Sample configuration:
 (let ((map global-map))
   (define-key map (kbd "M-# s") #'substitute-target-below-point)
   (define-key map (kbd "M-# r") #'substitute-target-above-point)
-  (define-key map (kbd "M-# d") #'substitute-target-in-function)
+  (define-key map (kbd "M-# d") #'substitute-target-in-defun)
   (define-key map (kbd "M-# b") #'substitute-target-in-buffer))
 ```
 
diff --git a/substitute.el b/substitute.el
index 4a854795c8..9e3e48e9f4 100644
--- a/substitute.el
+++ b/substitute.el
@@ -204,7 +204,7 @@ boundaries." doc)
 
 ;;;###autoload
 (substitute-command
- substitute-target-in-function
+ substitute-target-in-defun
  "in the defun (per `narrow-to-defun')"
  'defun)
 

Reply via email to