/etc/emacs/site-start.d/50tdiary-mode.el is in tdiary-mode 3.2.2-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 22 23 24 | ;;; 50tdiary-mode.el --- Debian tdiary-mode startup file -*-mode: emacs-lisp;-*-
(let* ((pkg "tdiary-mode")
(flavor-name (if (boundp 'debian-emacs-flavor)
(symbol-name debian-emacs-flavor)
"emacs"))
(pkg-inst (concat "/usr/lib/emacsen-common/packages/install/" pkg))
(elc-dir (concat "/usr/share/" flavor-name "/site-lisp/" pkg)))
(when (and (file-exists-p elc-dir)
(file-exists-p pkg-inst))
(if (fboundp 'debian-pkg-add-load-path-item)
(debian-pkg-add-load-path-item elc-dir)
(setq load-path (cons elc-dir load-path)))
;;
(autoload 'tdiary-mode "tdiary-mode" nil t)
(autoload 'tdiary-new "tdiary-mode" nil t)
(autoload 'tdiary-new-diary "tdiary-mode" nil t)
(autoload 'tdiary-replace "tdiary-mode" nil t)
(add-to-list 'auto-mode-alist
'("\\.td\\'" . tdiary-mode))
;;
))
;;; 50tdiary-mode.el ends here
|