mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-14 23:40:39 -08:00
log-view-toggle-entry-display: Don't deactivate the mark
* lisp/vc/log-view.el (log-view-toggle-entry-display): Bind inhibit-read-only instead of buffer-read-only. Bind deactivate-mark to nil.
This commit is contained in:
parent
6d7ff7478f
commit
7844710e87
1 changed files with 2 additions and 1 deletions
|
|
@ -495,7 +495,8 @@ This calls `log-view-expanded-log-entry-function' to do the work."
|
|||
(let* ((opoint (point))
|
||||
(entry (log-view-current-entry nil t))
|
||||
(beg (car entry))
|
||||
(buffer-read-only nil))
|
||||
(inhibit-read-only t)
|
||||
deactivate-mark)
|
||||
(when entry
|
||||
(if (get-text-property beg 'log-view-entry-expanded)
|
||||
;; If the entry is expanded, collapse it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue