X-Git-Url: http://git.maemo.org/git/?p=googlelatitude;a=blobdiff_plain;f=debian%2Femacsen-startup.ex;fp=debian%2Femacsen-startup.ex;h=0000000000000000000000000000000000000000;hp=d28a9b823922d84c756c159edf657a9295cf9784;hb=acfccb1f63dd621809581c09b3f9690e3b2e50f2;hpb=f66076c2991b0519cde383b2d09167333d55f5d6;ds=sidebyside diff --git a/debian/emacsen-startup.ex b/debian/emacsen-startup.ex deleted file mode 100644 index d28a9b8..0000000 --- a/debian/emacsen-startup.ex +++ /dev/null @@ -1,25 +0,0 @@ -;; -*-emacs-lisp-*- -;; -;; Emacs startup file, e.g. /etc/emacs/site-start.d/50googlelatitude.el -;; for the Debian googlelatitude package -;; -;; Originally contributed by Nils Naumann -;; Modified by Dirk Eddelbuettel -;; Adapted for dh-make by Jim Van Zandt - -;; The googlelatitude 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/googlelatitude"))) -;; If package-dir does not exist, the googlelatitude 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 'googlelatitude-mode "googlelatitude-mode" - "Major mode for editing googlelatitude files." t) - (add-to-list 'auto-mode-alist '("\\.googlelatitude$" . googlelatitude-mode)))) -