summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-07-16 01:00:49 +0300
committerJuri Linkov <juri@linkov.net>2019-07-16 01:00:49 +0300
commitde8b677a017d3846f178bf8ae7ffc20188179bab (patch)
treee843402925a49d607160fb63fb3e7c2297eb2ffe
parente5cd597c7736b587f80c16fde1c53f904d921310 (diff)
downloademacs-de8b677a017d3846f178bf8ae7ffc20188179bab.tar.gz
* lisp/progmodes/sh-script.el (sh-assignment): Put delete-selection on symbol
-rw-r--r--lisp/progmodes/sh-script.el1
1 files changed, 1 insertions, 0 deletions
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.