[Refdb-cvs] CVS: elisp refdb-mode-config.el,NONE,1.1
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2005-06-22 19:49:30
|
Update of /cvsroot/refdb/elisp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1395 Added Files: refdb-mode-config.el Log Message: initial version --- NEW FILE --- ;; refdb-mode and ris-mode configuration file example ;; adapt the settings to your needs and include this ;; file into your .emacs (or site-start.el) by inserting ;; the following command, using the real path of course: ;; (load-file "/path/to/refdb-mode-config.el") ;; Alternatively, copy the following lines directly ;; into your .emacs or site-start.el ;; load the editing mode for RIS files and associate .ris files ;; with this mode (autoload 'ris-mode "ris" "Major mode for RIS bibliography files." t) (or (assoc "\\.ris$" auto-mode-alist) (setq auto-mode-alist (cons '("\\.ris$" . ris-mode) auto-mode-alist))) ;; load refdb-mode (require 'refdb-mode) ;; set the default reference database (setq refdb-database "default") ;; invoke refdb-mode automatically with these major modes (add-hook 'ris-mode-hook 'refdb-mode) (add-hook 'nxml-mode-hook 'refdb-mode) (add-hook 'bibtex-mode-hook 'refdb-mode) (add-hook 'psgml-mode-hook 'refdb-mode) (add-hook 'sgml-mode-hook 'refdb-mode) (add-hook 'refdb-output-mode-hook 'refdb-mode) |