diff lisp/lisp-mode.el @ 1428:10738b72057d

[xemacs-hg @ 2003-04-24 05:29:11 by youngs] 2003-04-24 Steve Youngs <youngs@xemacs.org> * font-lock.el (font-lock-match-java-declarations): Move save-restriction, narrow-to-region to beginning of function to avoid going beyond the limit and causing an infloop. From Jin Choi <jsc@orangeimagineering.com>. 2003-04-24 Vasily Korytov <deskpot@myrealbox.com> * lisp-mode.el (emacs-lisp-mode-hook, lisp-mode-hook, lisp-interaction-mode-hook): Add the docstrings.
author youngs
date Thu, 24 Apr 2003 05:29:12 +0000
parents 1b0339b048ce
children ce294639d321
line wrap: on
line diff
--- a/lisp/lisp-mode.el	Thu Apr 24 05:26:42 2003 +0000
+++ b/lisp/lisp-mode.el	Thu Apr 24 05:29:12 2003 +0000
@@ -267,6 +267,16 @@
   ;; doesn't need them.
 )
 
+;; XEmacs: add docstrings to the hooks
+(defvar emacs-lisp-mode-hook nil
+  "Hook to run when entering emacs-lisp-mode.")
+
+(defvar lisp-mode-hook nil
+  "Hook to run when entering lisp-mode.")
+
+(defvar lisp-interaction-mode-hook nil
+  "Hook to run when entering lisp-interaction-mode.")
+
 (defun emacs-lisp-byte-compile ()
   "Byte compile the file containing the current buffer."
   (interactive)