/etc/emacs/site-start.d/50picolisp.el is in picolisp 17.12+20180218-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 | ;; -*-emacs-lisp-*-
;;
;; Emacs startup file for the Debian picolisp package
;;
;; To avoid a dependency on emacsen for our modes and avoid having a
;; separate picolisp-el package, we don't byte-compile the .el
;; files, so we only need to add a source directory to load-path.
(let ((package-dir "/usr/share/emacs/site-lisp/picolisp"))
;; If package-dir does not exist, the picolisp package must have
;; removed but not purged, and we should skip the setup.
(when (file-directory-p package-dir)
(if (fboundp 'debian-pkg-add-load-path-item)
(debian-pkg-add-load-path-item package-dir)
(setq load-path (cons package-dir load-path)))
(autoload 'run-picolisp "inferior-picolisp")
(autoload 'picolisp-mode "picolisp"
"Major mode for editing picolisp files." t)
(setq picolisp-program-name "/usr/lib/picolisp/bin/plmod")
(add-to-list 'auto-mode-alist '("\\.l\\'" . picolisp-mode))))
|