File: emacsen-startup

package info (click to toggle)
html-helper-mode 3.0.4jolly-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 276 kB
  • ctags: 260
  • sloc: lisp: 2,730; makefile: 44; sh: 32
file content (27 lines) | stat: -rw-r--r-- 1,205 bytes parent folder | download
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
;; -*-emacs-lisp-*-
;;
;; Emacs startup file for the Debian GNU/Linux html-helper-mode 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@vanzandt.mv.com>

;; The html-helper-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:
(setq load-path (cons (concat "/usr/share/"
                              (symbol-name flavor)
			      "/site-lisp/html-helper-mode") load-path))

;; Put the uncompiled code in the path too
;;(setq load-path (cons (concat
;; "/usr/share/emacs/site-lisp/html-helper-mode") load-path))

(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)

;; You may want to comment out the following 2 lines if you don't want hhm
;; enabled by default.
(setq auto-mode-alist (cons '("\\.htm$" . html-helper-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.html$" . html-helper-mode) auto-mode-alist))