Browse Source

enable view-mode on git output buffer

pull/1/head
10sr 12 years ago
parent
commit
b6e25a4ca8
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      emacs.el

+ 4
- 1
emacs.el View File

@@ -1609,7 +1609,10 @@ when SEC is nil, stop auto save if enabled."
(cd dir)
(and (require 'ansi-color nil t)
(ansi-color-apply-on-region (point-min)
(point-max))))))
(point-max)))
(setq buffer-read-only t)
(view-mode 1)
)))
(define-key ctl-x-map "g" 'my-git-shell-command)

(defun my-kill-buffers ()


Loading…
Cancel
Save