소스 검색

emacs.el: do not enable view-mode if major-mode is derived mode of diff-mode

pull/1/head
10sr 10 년 전
부모
커밋
fd4de45344
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. +4
    -1
      emacs.el

+ 4
- 1
emacs.el 파일 보기

@@ -908,7 +908,10 @@ found, otherwise returns nil."
(setq diff-switches "-u")
(add-hook 'diff-mode-hook
(lambda ()
(view-mode 1)
(when (eq major-mode
'diff-mode)
;; do not pass when major-mode is derived mode of diff-mode
(view-mode 1))
(set-face-attribute 'diff-header nil
:foreground nil
:background nil


불러오는 중...
취소
저장