/etc/emacs/site-start.d/50sml-mode.el is in sml-mode 5.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ;; -*-emacs-lisp-*-
(if (not (file-exists-p "/usr/share/emacs/site-lisp/sml-mode"))
(message "Package sml-mode removed but not purged. Skipping setup.")
(let ((smldir (concat "/usr/share/"
(symbol-name debian-emacs-flavor)
"/site-lisp/sml-mode")))
;; Only load sml-mode if it has been installed.
(if (zerop (length (file-expand-wildcards smldir)))
(message "sml-mode not for this flavor. Skipping.")
;; The sml-mode package follows the Debian/GNU Linux 'emacsen' policy and
;; byte-compiles its elisp files for each 'emacs flavor'. The compiled
;; code is then installed in a subdirectory of the respective site-lisp
;; directory.
(debian-pkg-add-load-path-item smldir)
;; Autoload sml-mode top-level functions site-wide.
(load "sml-mode-startup"))))
|