From e41b2db1da153e3ead4a01cb6e729cb99cad78ae Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 22 Mar 1993 03:27:18 +0000 Subject: Added or corrected Commentary sections --- lisp/emacs-lisp/lisp-mode.el | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'lisp/emacs-lisp/lisp-mode.el') diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index f56fefedf00..67c2a96c069 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -23,6 +23,13 @@ ;;; Code: +;;; Commentary: + +;; The base major mode for editing Lisp code (used also for Emacs Lisp). +;; This mode is documented in the Emacs manual + +;;; Code: + (defvar lisp-mode-syntax-table nil "") (defvar emacs-lisp-mode-syntax-table nil "") (defvar lisp-mode-abbrev-table nil "") @@ -94,8 +101,8 @@ (setq comment-start-skip ";+ *") (make-local-variable 'comment-column) (setq comment-column 40) - (make-local-variable 'comment-indent-hook) - (setq comment-indent-hook 'lisp-comment-indent)) + (make-local-variable 'comment-indent-function) + (setq comment-indent-function 'lisp-comment-indent)) (defvar shared-lisp-mode-map () "Keymap for commands shared by all sorts of Lisp modes.") -- cgit v1.2.3