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

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

Re: Error in untabify when mark is not set


From: martin rudalics
Subject: Re: Error in untabify when mark is not set
Date: Thu, 14 Sep 2006 10:54:24 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Start with

   emacs -Q

Open a file and do

   M-x untabify

I get the error

   The mark is not set now, so there is no region

Isn't that by design?

(defun untabify (start end)
  "Convert all tabs in region to multiple spaces, preserving columns.
Called non-interactively, the region is specified by arguments
START and END, rather than by the position of point and mark.
The variable `tab-width' controls the spacing of tab stops."
  (interactive "r")
...




reply via email to

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