summaryrefslogtreecommitdiffstats
path: root/debian/emacsen-startup.ex
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-12-19 02:23:32 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-12-19 02:23:32 +0000
commite620d0a9d88875c425741ad2d40579e61cdd15b0 (patch)
treecbf2594af347cfdcc83b370f999d80de3f2e2797 /debian/emacsen-startup.ex
parentc19f68cb27021c0fd5e0ad1962ff9547bd616e23 (diff)
downloadpython-dmidecode-e620d0a9d88875c425741ad2d40579e61cdd15b0.tar.gz
python-dmidecode-e620d0a9d88875c425741ad2d40579e61cdd15b0.tar.xz
python-dmidecode-e620d0a9d88875c425741ad2d40579e61cdd15b0.zip
Removed junk and doing more debianizing - WIP.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@118 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'debian/emacsen-startup.ex')
-rw-r--r--debian/emacsen-startup.ex25
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/emacsen-startup.ex b/debian/emacsen-startup.ex
deleted file mode 100644
index 4be9e8a..0000000
--- a/debian/emacsen-startup.ex
+++ /dev/null
@@ -1,25 +0,0 @@
-;; -*-emacs-lisp-*-
-;;
-;; Emacs startup file, e.g. /etc/emacs/site-start.d/50dmidecode.el
-;; for the Debian dmidecode package
-;;
-;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
-;; Modified by Dirk Eddelbuettel <edd@debian.org>
-;; Adapted for dh-make by Jim Van Zandt <jrv@debian.org>
-
-;; The dmidecode 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/dmidecode")))
-;; If package-dir does not exist, the dmidecode 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))
- (autoload 'dmidecode-mode "dmidecode-mode"
- "Major mode for editing dmidecode files." t)
- (add-to-list 'auto-mode-alist '("\\.dmidecode$" . dmidecode-mode))))
-