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-info-highlight-setup.el < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.7 KB  |  54 lines

  1. ;;*****************************************************************************
  2. ;;
  3. ;; Filename:    tek-info-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 to use Dave Gillespie's "info-dg" info browser
  25. ;;        under epoch. Provides highlighting and mouse bindings.
  26. ;;
  27. ;;        See the INSTALL file that comes with this package for
  28. ;;        installation details.
  29. ;;
  30. ;;*****************************************************************************
  31.  
  32. ;; $Id: tek-info-highlight-setup.el,v 1.8 1992/08/18 04:13:34 rwhitby Rel $
  33.  
  34. (require 'unique-hooks)
  35.  
  36. (if (fboundp 'info)
  37.     (fmakunbound 'info))
  38.  
  39. (if (boundp 'epoch::version)
  40.     (progn
  41.       
  42.       (defun tek-init-info-highlighting ()
  43.     (require 'tek-info-highlight)
  44.     nil)
  45.  
  46.  
  47.       (prepend-unique-hook 'Info-load-hook 'tek-init-info-highlighting)
  48.       (prepend-unique-hook 'Info-select-hook 'tek-info-highlight)
  49.       ))
  50.  
  51. (autoload 'info "info" "autoloadable function" t)
  52.  
  53. (provide 'tek-info-highlight-setup)
  54.