]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/sh-script.el (sh-assignment): Put delete-selection on symbol
authorJuri Linkov <juri@linkov.net>
Mon, 15 Jul 2019 22:00:49 +0000 (01:00 +0300)
committerJuri Linkov <juri@linkov.net>
Mon, 15 Jul 2019 22:00:49 +0000 (01:00 +0300)
lisp/progmodes/sh-script.el

index b92449d764708be3526574cff879e4886540b5b2..aad38b94d769f899c750d4e175e9135c655c5ded 100644 (file)
@@ -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.