comparison lisp/emacs-lisp/lisp-mode.el @ 104303:bd9adfb1acc9

(lisp-indent-region): Remove unused function.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 16 Aug 2009 15:40:50 +0000
parents 1b791c5d1cee
children 273e528a9f9b b866a533c9f3
comparison
equal deleted inserted replaced
104302:62681dd69ecb 104303:bd9adfb1acc9
1338 (indent-to this-indent))))) 1338 (indent-to this-indent)))))
1339 (or outer-loop-done 1339 (or outer-loop-done
1340 (setq outer-loop-done (= (point) last-point)) 1340 (setq outer-loop-done (= (point) last-point))
1341 (setq last-point (point))))))) 1341 (setq last-point (point)))))))
1342 1342
1343 (defun lisp-indent-region (start end)
1344 "Indent every line whose first char is between START and END inclusive."
1345 (save-excursion
1346 (let ((endmark (copy-marker end)))
1347 (goto-char start)
1348 (and (bolp) (not (eolp))
1349 (lisp-indent-line))
1350 (indent-sexp endmark)
1351 (set-marker endmark nil))))
1352
1353 (defun indent-pp-sexp (&optional arg) 1343 (defun indent-pp-sexp (&optional arg)
1354 "Indent each line of the list starting just after point, or prettyprint it. 1344 "Indent each line of the list starting just after point, or prettyprint it.
1355 A prefix argument specifies pretty-printing." 1345 A prefix argument specifies pretty-printing."
1356 (interactive "P") 1346 (interactive "P")
1357 (if arg 1347 (if arg