/etc/emacs/site-start.d:
total used in directory 40 available 29071836
drwxr-xr-x 2 root root 4096 2009-04-24 01:33 .
drwxr-xr-x 3 root root 4096 2009-03-21 22:26 ..
-rw-r--r-- 1 root root 1827 2006-01-07 16:55 00debian-vars.el
-rw-r--r-- 1 root root 729 2007-04-28 05:44 50autoconf.el
-rw-r--r-- 1 root root 1567 2008-06-04 19:18 50dictionaries-common.el
-rw-r--r-- 1 root root 10392 2009-02-20 22:02 50git-core.el
-rw-r--r-- 1 root root 1072 2008-12-15 14:35 50org-mode.el
-rw-r--r-- 1 root root 101 2008-03-11 09:52 50psvn.el
//////////////////////////////////////////////////////////
50org-mode.el
;; -*-emacs-lisp-*-
;;
;; Emacs startup file, e.g. /etc/emacs/site-start.d/50org-mode.el
;; for the Debian org-mode package
;;
;; Originally contributed by Nils Naumann <[email protected]>
;; Modified by Dirk Eddelbuettel <[email protected]>
;; Adapted for dh-make by Jim Van Zandt <[email protected]>
;; The org-mode package follows the Debian/GNU Linux 'emacsen' policy and
;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
;; xemacs19, emacs20, xemacs20...). The compiled code is then
;; installed in a subdirectory of the respective site-lisp directory.
;; We have to add this to the load-path:
(let ((package-dir (concat "/usr/share/"
(symbol-name flavor)
"/site-lisp/org-mode")))
;; If package-dir does not exist, the org-mode package must have
;; removed but not purged, and we should skip the setup.
(when (file-directory-p package-dir)
(setq load-path (cons package-dir load-path))
(require 'org-install)
(add-to-list 'auto-mode-alist '("\.org\(-mode\)?$" . org-mode))))
Add a code snippet to your website: www.paste.org