From: Reuben Thomas Date: Fri, 13 Apr 2012 06:20:39 +0000 (+0800) Subject: * src/indent.c (Fmove_to_column): Change interactive spec. X-Git-Tag: emacs-24.2.90~471^2~364^2~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c25df26eff9490f6c8b0ffc22d3d6f8c2043fff7;p=emacs.git * src/indent.c (Fmove_to_column): Change interactive spec. --- diff --git a/etc/NEWS b/etc/NEWS index e2013cdb16f..095f783b523 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -37,6 +37,10 @@ been adding them there, put them somewhere else, eg site-lisp. * Editing Changes in Emacs 24.2 + +** M-x move-to-column, if called interactively with no prefix arg, now +prompts for a column number. + * Changes in Specialized Modes and Packages in Emacs 24.2 diff --git a/src/ChangeLog b/src/ChangeLog index a55189fb3c3..63cb7a23da4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-04-13 Reuben Thomas + + * indent.c (Fmove_to_column): Change interactive spec (Bug#739). + 2012-04-11 Daniel Colascione * s/cygwin.h: The vfork the #define in cygwin.h was protecting diff --git a/src/indent.c b/src/indent.c index 1531d2ffde8..e9f86c95a9d 100644 --- a/src/indent.c +++ b/src/indent.c @@ -956,7 +956,8 @@ indented_beyond_p (EMACS_INT pos, EMACS_INT pos_byte, EMACS_INT column) return val >= column; } -DEFUN ("move-to-column", Fmove_to_column, Smove_to_column, 1, 2, "p", +DEFUN ("move-to-column", Fmove_to_column, Smove_to_column, 1, 2, + "NMove to column:", doc: /* Move point to column COLUMN in the current line. Interactively, COLUMN is the value of prefix numeric argument. The column of a character is calculated by adding together the widths