summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp-mode.el
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>1993-03-22 03:27:18 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>1993-03-22 03:27:18 +0000
commite41b2db1da153e3ead4a01cb6e729cb99cad78ae (patch)
treeb1a9c9c673da674b66521088f3247ac5a34f5a02 /lisp/emacs-lisp/lisp-mode.el
parent33d92c1f9de704cda9309731b4d6add46178aafc (diff)
downloademacs-e41b2db1da153e3ead4a01cb6e729cb99cad78ae.tar.gz
emacs-e41b2db1da153e3ead4a01cb6e729cb99cad78ae.tar.bz2
emacs-e41b2db1da153e3ead4a01cb6e729cb99cad78ae.zip
Added or corrected Commentary sections
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
-rw-r--r--lisp/emacs-lisp/lisp-mode.el11
1 files changed, 9 insertions, 2 deletions
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.")