From de8b677a017d3846f178bf8ae7ffc20188179bab Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 16 Jul 2019 01:00:49 +0300 Subject: [PATCH] * lisp/progmodes/sh-script.el (sh-assignment): Put delete-selection on symbol --- lisp/progmodes/sh-script.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index b92449d7647..aad38b94d76 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -4341,6 +4341,7 @@ option followed by a colon `:' if the option accepts an argument." t) (match-string 1)))))) +(put 'sh-assignment 'delete-selection t) (defun sh-maybe-here-document (arg) "Insert self. Without prefix, following unquoted `<' inserts here document. -- 2.39.2