doxymacs.install 663 B

1234567891011121314151617181920
  1. post_install() {
  2. cat <<__EOF__
  3. ====> Put (require 'doxymacs) in your .emacs
  4. ====> Invoke doxymacs-mode with M-x doxymacs-mode.
  5. ====> To have doxymacs-mode invoked automatically when in C/C++ mode, put
  6. (add-hook 'c-mode-common-hook 'doxymacs-mode)
  7. ====> in your .emacs.
  8. ====> If you want Doxygen keywords fontified use M-x doxymacs-font-lock.
  9. ====> To do it automatically in C and C++ modes, add the following to your .emacs:
  10. (defun my-doxymacs-font-lock-hook ()
  11. (if (or (eq major-mode 'c-mode) (eq major-mode 'c++-mode))
  12. (doxymacs-font-lock)))
  13. (add-hook 'font-lock-mode-hook 'my-doxymacs-font-lock-hook)
  14. __EOF__
  15. }
  16. post_upgrade() {
  17. post_install
  18. }