X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Flisp-mode.el;h=ac05da6472e6bfa0015632cd99ccae7afc6b986e;hb=8ccf542c980645ba3c02074a8bc67cd4fc8e7a1f;hp=254ad36e7a579bbc0c1e2cc607283066479785a9;hpb=1cc5b779cb8755e01e02aead4fba711c06158b90;p=chise%2Fxemacs-chise.git.1 diff --git a/lisp/lisp-mode.el b/lisp/lisp-mode.el index 254ad36..ac05da6 100644 --- a/lisp/lisp-mode.el +++ b/lisp/lisp-mode.el @@ -260,6 +260,16 @@ All commands in `shared-lisp-mode-map' are inherited by this map.") ;; 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) @@ -674,7 +684,7 @@ of the start of the containing expression." (parse-partial-sexp (point) calculate-lisp-indent-last-sexp 0 t) (if (and (elt state 2) (not (looking-at "\\sw\\|\\s_"))) - ;; car of form doesn't seem to be a a symbol + ;; car of form doesn't seem to be a symbol (progn (if (not (> (save-excursion (forward-line 1) (point)) calculate-lisp-indent-last-sexp))