]> git.eshelyaron.com Git - emacs.git/commit
Make newly-created smerge-diff-buffers read-only
authorSpencer Baugh <sbaugh@janestreet.com>
Wed, 28 Jun 2023 12:48:01 +0000 (08:48 -0400)
committerEli Zaretskii <eliz@gnu.org>
Thu, 5 Oct 2023 08:04:47 +0000 (11:04 +0300)
commit5b019360d681f808f4336188cd85ada2f3593438
tree031eb085af007c5c0b3a925a5b623c69d72fb38e
parenta9c4994776f21ba2880469739688c0718d1686c7
Make newly-created smerge-diff-buffers read-only

Buffers name *vc-diff* are usually created by vc, which makes them
read-only.  If we create such a buffer, let's make it read-only too.
If the buffer already exists, though, don't change that since the user
might have deliberately made it writable.

* lisp/vc/smerge-mode.el (smerge-diff): Make newly-created
smerge-diff-buffers read-only. (bug#64071)
lisp/vc/smerge-mode.el