Merge commit 'refs/merge-requests/14' of git://gitorious.org/magit/mainline
This commit is contained in:
commit
5dc924748a
1 changed files with 6 additions and 0 deletions
6
magit.el
6
magit.el
|
@ -1069,6 +1069,12 @@ Many Magit faces inherit from this one by default."
|
||||||
(setq magit-process-client-buffer (current-buffer))
|
(setq magit-process-client-buffer (current-buffer))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(set-buffer buf)
|
(set-buffer buf)
|
||||||
|
(view-mode 1)
|
||||||
|
(set (make-local-variable 'view-no-disable-on-exit) t)
|
||||||
|
(setq view-exit-action
|
||||||
|
(lambda (buffer)
|
||||||
|
(with-current-buffer buffer
|
||||||
|
(bury-buffer))))
|
||||||
(setq buffer-read-only t)
|
(setq buffer-read-only t)
|
||||||
(let ((inhibit-read-only t))
|
(let ((inhibit-read-only t))
|
||||||
(setq default-directory dir)
|
(setq default-directory dir)
|
||||||
|
|
Loading…
Reference in a new issue