Emacs: Add package spdx.
This commit is contained in:
parent
1cfe0cf44c
commit
da0fe33fcd
|
@ -245,5 +245,12 @@ year if mode is derived from prog-mode."
|
||||||
:straight (:type built-in)
|
:straight (:type built-in)
|
||||||
:hook (diff-mode . (lambda () (setq-local my/reformat-save nil))))
|
:hook (diff-mode . (lambda () (setq-local my/reformat-save nil))))
|
||||||
|
|
||||||
|
;; Insert SPDX license identifiers.
|
||||||
|
(use-package spdx
|
||||||
|
:custom((spdx-copyright-holder 'auto)
|
||||||
|
(spdx-project-detection 'auto))
|
||||||
|
:bind (:map prog-mode-map
|
||||||
|
("C-c i l" . spdx-insert-spdx)))
|
||||||
|
|
||||||
(provide 'programming/common)
|
(provide 'programming/common)
|
||||||
;;; common.el ends here
|
;;; common.el ends here
|
||||||
|
|
Loading…
Reference in New Issue
Block a user