bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(indent-region) &optional suggested...


From: D. Goel
Subject: (indent-region) &optional suggested...
Date: 18 May 2002 14:43:50 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

(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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]