From: Juri Linkov Date: Mon, 15 Jul 2019 22:00:49 +0000 (+0300) Subject: * lisp/progmodes/sh-script.el (sh-assignment): Put delete-selection on symbol X-Git-Tag: emacs-27.0.90~1885 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=de8b677a017d3846f178bf8ae7ffc20188179bab;p=emacs.git * lisp/progmodes/sh-script.el (sh-assignment): Put delete-selection on symbol --- 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.