home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / elisp / epoch / tek-highlight-2.0 / tek-vm-highlight-setup.el < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.5 KB  |  46 lines

  1. ;;*****************************************************************************
  2. ;;
  3. ;; Filename:    tek-vm-highlight-setup.el
  4. ;;
  5. ;; Copyright (C) 1992  Rod Whitby
  6. ;;
  7. ;; This program is free software; you can redistribute it and/or modify
  8. ;; it under the terms of the GNU General Public License as published by
  9. ;; the Free Software Foundation; either version 1, or (at your option)
  10. ;; any later version.
  11. ;;
  12. ;; This program is distributed in the hope that it will be useful,
  13. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. ;; GNU General Public License for more details.
  16. ;;
  17. ;; You should have received a copy of the GNU General Public License
  18. ;; along with this program; if not, write to the Free Software
  19. ;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. ;;
  21. ;; Modified by:        Rod Whitby, <rwhitby@research.canon.oz.au>
  22. ;; Author:        Ken Wood, <kwood@austek.oz.au>
  23. ;;
  24. ;; Description:    Set up highlighting under VM if running epoch.
  25. ;;
  26. ;;        See the INSTALL file that comes with this package for
  27. ;;        installation details.
  28. ;;
  29. ;;*****************************************************************************
  30.  
  31. ;; $Id: tek-vm-highlight-setup.el,v 1.5 1992/08/18 04:16:24 rwhitby Rel $
  32.  
  33. (require 'unique-hooks)
  34.  
  35. (if (boundp 'epoch::version)
  36.     (progn
  37.  
  38.       (defun tek-init-vm-highlighting ()
  39.     (require 'tek-vm-highlight)
  40.     nil)
  41.  
  42.       (prepend-unique-hook 'vm-mode-hooks 'tek-init-vm-highlighting)
  43.       ))
  44.  
  45. (provide 'tek-vm-highlight-setup)
  46.