From e620d0a9d88875c425741ad2d40579e61cdd15b0 Mon Sep 17 00:00:00 2001 From: nima Date: Fri, 19 Dec 2008 02:23:32 +0000 Subject: Removed junk and doing more debianizing - WIP. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@118 abc39116-655e-4be6-ad55-d661dc543056 --- debian/emacsen-startup.ex | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 debian/emacsen-startup.ex (limited to 'debian/emacsen-startup.ex') 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 -;; Modified by Dirk Eddelbuettel -;; Adapted for dh-make by Jim Van Zandt - -;; 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)))) - -- cgit