Emacs barfs at startup when loading /etc/emacs/site-start.d/50a2ps.el
These two changes cure it for me:
--- /dev/fd/63 2026-10-21 03:37:30.527154598 +0200
+++ /etc/emacs/site-start.d/50a2ps.el 2026-10-21 03:31:01.140875466 +0200
@@ -12,7 +12,7 @@
;; installed in a subdirectory of the respective site-lisp directory.
;; We have to add this to the load-path:
(setq load-path (cons (concat "/usr/share/"
- (symbol-name flavor)
+ (symbol-name debian-emacs-flavor)
"/site-lisp/a2ps") load-path))
;; a2ps
(autoload 'a2ps-mode "a2ps" nil t)
@@ -39,9 +39,8 @@
(progn
(global-set-key [f22] 'a2ps-buffer)
(global-set-key [S-f22] 'a2ps-region-1)
- (define-key-after menu-bar-files-menu [a2ps-print]
+ (define-key-after menu-bar-file-menu [a2ps-print]
'(menu-item "a2ps" a2ps-buffer :help "Print with a2ps")
'ps-print-region)
)
)