* src/indent.c (Fmove_to_column): Change interactive spec.
authorReuben Thomas <rrt@sc3d.org>
Fri, 13 Apr 2012 06:20:39 +0000 (14:20 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 13 Apr 2012 06:20:39 +0000 (14:20 +0800)
etc/NEWS
src/ChangeLog
src/indent.c

index e2013cd..095f783 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -37,6 +37,10 @@ been adding them there, put them somewhere else, eg site-lisp.
 
 \f
 * Editing Changes in Emacs 24.2
+
+** M-x move-to-column, if called interactively with no prefix arg, now
+prompts for a column number.
+
 \f
 * Changes in Specialized Modes and Packages in Emacs 24.2
 
index a55189f..63cb7a2 100644 (file)
@@ -1,3 +1,7 @@
+2012-04-13  Reuben Thomas  <rrt@sc3d.org>
+
+       * indent.c (Fmove_to_column): Change interactive spec (Bug#739).
+
 2012-04-11  Daniel Colascione  <dancol@dancol.org>
 
        * s/cygwin.h: The vfork the #define in cygwin.h was protecting
index 1531d2f..e9f86c9 100644 (file)
@@ -956,7 +956,8 @@ indented_beyond_p (EMACS_INT pos, EMACS_INT pos_byte, EMACS_INT column)
   return val >= column;
 }
 \f
-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