/etc/emacs/site-start.d/50dictionaries-common.el is in dictionaries-common 1.20.5.
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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | ;; File: startup.el.in
;; Description: Emacsen startup for dictionaries-common in Debian
;; Authors: Rafael Laboissière <rafael@debian.org>
;; Agustin Martin <agmartin@debian.org>
;; Created on: Fri Oct 22 09:48:21 CEST 1999
(let ((skip-emacs-flavors-list '(emacs19
emacs20
emacs21
emacs22
emacs-snapshot))
(debian-dict-entries "/var/cache/dictionaries-common/emacsen-ispell-dicts.el"))
(if (member debian-emacs-flavor skip-emacs-flavors-list)
(message "Skipping dictionaries-common setup for %s" debian-emacs-flavor)
(debian-pkg-add-load-path-item
(concat "/usr/share/"
(symbol-name debian-emacs-flavor)
"/site-lisp/dictionaries-common"))
(autoload 'flyspell-word "flyspell" nil t)
(autoload 'flyspell-mode "flyspell" nil t)
(autoload 'flyspell-prog-mode "flyspell" nil t)
;; Load the Debian emacsen cache file, containing entries for each
;; installed dictionary.
;; Since this might result in a call to debian-ispell do this only if
;; it exists, that is, if package is not removed
(if (file-exists-p "/usr/share/emacs/site-lisp/dictionaries-common/debian-ispell.el")
(let ((coding-system-for-read 'raw-text)) ;; Read these as data streams
(load "debian-ispell" t)
(load debian-dict-entries t))
(message "Info: Package dictionaries-common removed but not purged."))))
;;; Previous code for loading ispell.el and refreshing spell-checking
;;; pulldown menus has been removed from this file since it should no
;;; longer be needed.
|