xrdb-mode

Homepage: http://www.python.org/emacs

Updated:

Summary

Mode for editing X resource database files

Commentary

This file provides a major mode for editing X resource database
files.  It includes font-lock definitions and commands for
controlling indentation, re-indenting by subdivisions, and loading
and merging into the the resource database.

To use, put the following in your .emacs:

(autoload 'xrdb-mode "xrdb-mode" "Mode for editing X resource files" t)

You may also want something like:

(setq auto-mode-alist
      (append '(("\\.Xdefaults$"    . xrdb-mode)
                ("\\.Xenvironment$" . xrdb-mode)
                ("\\.Xresources$"   . xrdb-mode)
                ("*.\\.ad$"         . xrdb-mode)
                )
              auto-mode-alist))

Dependencies