Tags: patch This patch updates copyright.el to auto-insert SPDX- declarations. There is one new user-facing command 'copyright-spdx' and a few new customizable variables. It also makes the 'copyright' command use 'comment-add' so that the comment marker ;; is correct in Lisp modes, for both the SPDX and default formats. While working on this I also noticed the copyright skeletons in autoinsert.el are inconsistent - they have an extra space relative to those of copyright.el. IMO autoinsert.el should be adjusted to use the copyright.el code instead of reimplementing it. In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2025-05-04 built on pop-os Repository revision: 159e3a981ed5482393182b036e38818d42405c90 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Pop!_OS 22.04 LTS