* (indent-region) &optional suggested...
@ 2002-05-18 18:43 D. Goel
0 siblings, 0 replies; only message in thread
From: D. Goel @ 2002-05-18 18:43 UTC (permalink / raw)
(indent-region) allows its last argument to be nil, and in that case,
assumes mode-based defaults.. we might as well make that argument
optional... diff attached..
D <http://www.glue.umd.edu/~deego/>
--
Did you know that FSF sells GNUish buttons for real cheap?-----
https://agia.fsf.org/
====================================================
diff -cw /homes/deego/emacs/indent-orig.el /homes/deego/emacs/indent.el
*** /homes/deego/emacs/indent-orig.el Sat May 18 14:39:15 2002
--- /homes/deego/emacs/indent.el Sat May 18 14:39:52 2002
***************
*** 296,302 ****
"Short cut function to indent region using `indent-according-to-mode'.
A value of nil means really run `indent-according-to-mode' on each line.")
! (defun indent-region (start end column)
"Indent each nonblank line in the region.
With prefix no argument, indent each line using `indent-according-to-mode',
or use `indent-region-function' to do the whole region if that's non-nil.
--- 296,302 ----
"Short cut function to indent region using `indent-according-to-mode'.
A value of nil means really run `indent-according-to-mode' on each line.")
! (defun indent-region (start end &optional column)
"Indent each nonblank line in the region.
With prefix no argument, indent each line using `indent-according-to-mode',
or use `indent-region-function' to do the whole region if that's non-nil.
Diff finished at Sat May 18 14:40:08
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-18 18:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-18 18:43 (indent-region) &optional suggested D. Goel
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).