Emacs: Set my/reformat-save to nil for diff-mode.
This commit is contained in:
parent
2b41312a29
commit
6844f34ec6
|
@ -1,6 +1,6 @@
|
||||||
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
|
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-12-05T10:55:12+0100>
|
;; Time-stamp: <2020-12-05T15:53:29+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -255,5 +255,9 @@ year if mode is derived from prog-mode."
|
||||||
:config (put 'bug-reference-url-format 'safe-local-variable #'stringp)
|
:config (put 'bug-reference-url-format 'safe-local-variable #'stringp)
|
||||||
:hook (prog-mode . bug-reference-prog-mode))
|
:hook (prog-mode . bug-reference-prog-mode))
|
||||||
|
|
||||||
|
(use-package diff
|
||||||
|
:straight (:type built-in)
|
||||||
|
:hook (diff-mode . (lambda () (setq-local my/reformat-save nil))))
|
||||||
|
|
||||||
(provide 'programming/common)
|
(provide 'programming/common)
|
||||||
;;; common.el ends here
|
;;; common.el ends here
|
||||||
|
|
Loading…
Reference in New Issue
Block a user