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-dired-highlight-setup.el < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.5 KB  |  45 lines

  1. ;;*****************************************************************************
  2. ;;
  3. ;; Filename:    tek-dired-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. ;; Author:        Rod Whitby, <rwhitby@research.canon.oz.au>
  22. ;;
  23. ;; Description:    Set up highlighting under dired if running epoch.
  24. ;;
  25. ;;        See the INSTALL file that comes with this package for
  26. ;;        installation details.
  27. ;;
  28. ;;*****************************************************************************
  29.  
  30. ;; $Id: tek-dired-highlight-setup.el,v 1.1 1992/08/18 04:13:20 rwhitby Rel $ 
  31.  
  32. (require 'unique-hooks)
  33.  
  34. (if (boundp 'epoch::version)
  35.     (progn
  36.  
  37.       (defun tek-init-dired-highlighting ()
  38.     (require 'tek-dired-highlight)
  39.     nil)
  40.       
  41.       (prepend-unique-hook 'dired-load-hook 'tek-init-dired-highlighting)
  42.       ))
  43.  
  44. (provide 'tek-dired-highlight-setup)
  45.