File: emacsen-startup

package info (click to toggle)
semi 1.14.7~0.20120428-26
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,860 kB
  • sloc: lisp: 15,189; sh: 156; makefile: 104
file content (28 lines) | stat: -rw-r--r-- 1,075 bytes parent folder | download | duplicates (5)
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
;;; 51semi.el --- Debian semi startup file  -*-mode: emacs-lisp;-*-

(let* ((pkg "semi")
       (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))
    (when (and (not (featurep 'mule))
	       (file-exists-p (concat elc-dir "/nomule")))
      (setq elc-dir (concat elc-dir "/nomule")))
    (if (fboundp 'debian-pkg-add-load-path-item)
	(debian-pkg-add-load-path-item elc-dir)
      (setq load-path (cons elc-dir load-path)))
    ;;
    (setq mime-edit-split-message nil)
    (setq mime-edit-pgp-encrypt-to-self t)
    (setq pgg-encrypt-for-me t)
    ;;(setq pgg-messages-locale "C") ;; default value is nil
    ;;(setq pgg-gpg-messages-locale pgg-messages-locale)
    (setq mime-setup-enable-inline-html nil)
    ;;(require 'mime-w3m) ;; text/html rendering with w3m-el
    ;;
    ))

;;; 51semi.el ends here