comparison lisp/emacs-lisp/lisp-mode.el @ 16687:049c87a96dca

Change defconsts to defvars.
author Richard M. Stallman <rms@gnu.org>
date Mon, 16 Dec 1996 01:33:02 +0000
parents 41bbec0cc4c6
children 852e90e67fff
comparison
equal deleted inserted replaced
16686:c5f50169bfbe 16687:049c87a96dca
328 (if (listp tem) (car tem) tem)) 328 (if (listp tem) (car tem) tem))
329 (skip-chars-backward " \t") 329 (skip-chars-backward " \t")
330 (max (if (bolp) 0 (1+ (current-column))) 330 (max (if (bolp) 0 (1+ (current-column)))
331 comment-column)))) 331 comment-column))))
332 332
333 (defconst lisp-indent-offset nil "") 333 (defvar lisp-indent-offset nil "")
334 (defconst lisp-indent-function 'lisp-indent-function "") 334 (defvar lisp-indent-function 'lisp-indent-function "")
335 335
336 (defun lisp-indent-line (&optional whole-exp) 336 (defun lisp-indent-line (&optional whole-exp)
337 "Indent current line as Lisp code. 337 "Indent current line as Lisp code.
338 With argument, indent any additional lines of the same expression 338 With argument, indent any additional lines of the same expression
339 rigidly along with this one." 339 rigidly along with this one."
506 (lisp-indent-specform method state 506 (lisp-indent-specform method state
507 indent-point normal-indent)) 507 indent-point normal-indent))
508 (method 508 (method
509 (funcall method state indent-point))))))) 509 (funcall method state indent-point)))))))
510 510
511 (defconst lisp-body-indent 2 511 (defvar lisp-body-indent 2
512 "Number of columns to indent the second line of a `(def...)' form.") 512 "Number of columns to indent the second line of a `(def...)' form.")
513 513
514 (defun lisp-indent-specform (count state indent-point normal-indent) 514 (defun lisp-indent-specform (count state indent-point normal-indent)
515 (let ((containing-form-start (elt state 1)) 515 (let ((containing-form-start (elt state 1))
516 (i count) 516 (i count)