mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
Prevent deletion of separator in *edit string* buffer
* lisp/textmodes/string-edit.el (string-edit): Make the separator line read-only. (Bug#71405)
This commit is contained in:
parent
988203fe98
commit
6d12157fa8
@ -58,7 +58,8 @@ Also see `read-string-from-buffer'."
|
||||
(list 'intangible t
|
||||
'face 'string-edit-prompt
|
||||
'read-only t))
|
||||
(insert (propertize (make-separator-line) 'rear-nonsticky t))
|
||||
(insert (propertize (make-separator-line)
|
||||
'read-only t 'rear-nonsticky t))
|
||||
(add-text-properties (point-min) (point)
|
||||
(list 'string-edit--prompt t))))
|
||||
(let ((start (point)))
|
||||
|
Loading…
Reference in New Issue
Block a user