Parcourir la source

enable view-mode on git output buffer

pull/1/head
10sr il y a 12 ans
Parent
révision
b6e25a4ca8
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. +4
    -1
      emacs.el

+ 4
- 1
emacs.el Voir le fichier

@@ -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 ()


Chargement…
Annuler
Enregistrer