;; $Id: dot_emacs,v 1.4 2001-04-06 23:05:36-04 tkg Exp $ ;; XSL mode (autoload 'xsl-mode "xslide" "Major mode for XSL stylesheets." t) ;; Turn on font lock when in XSL mode (add-hook 'xsl-mode-hook 'turn-on-font-lock) (setq auto-mode-alist (append (list '("\\.fo" . xsl-mode) '("\\.xsl" . xsl-mode)) auto-mode-alist)) ;; Uncomment if using abbreviations ;; (abbrev-mode t) (setq load-path (append load-path '("/usr/share/emacs/site-lisp/xslide"))) ;; "Used for prefix and colon portion of formatting object elements and attributes" (make-face 'xsl-fo-alternate-face) (set-face-foreground 'xsl-fo-alternate-face "Midnight Blue") ;; "Used for literal result element tags" (make-face 'xsl-other-element-face) (set-face-foreground 'xsl-other-element-face "Midnight Blue") (make-face 'xsl-fo-main-face) (set-face-foreground 'xsl-other-element-face "Midnight Blue")