aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReuben Thomas2012-04-13 14:20:39 +0800
committerChong Yidong2012-04-13 14:20:39 +0800
commitc25df26eff9490f6c8b0ffc22d3d6f8c2043fff7 (patch)
tree1faf4468d2a3f8cac47381b5b906322959121cec
parent8712423321df220fd344f56a937fa29ff2273cf2 (diff)
downloademacs-c25df26eff9490f6c8b0ffc22d3d6f8c2043fff7.tar.gz
emacs-c25df26eff9490f6c8b0ffc22d3d6f8c2043fff7.zip
* src/indent.c (Fmove_to_column): Change interactive spec.
-rw-r--r--etc/NEWS4
-rw-r--r--src/ChangeLog4
-rw-r--r--src/indent.c3
3 files changed, 10 insertions, 1 deletions
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.
37 37
38 38
39* Editing Changes in Emacs 24.2 39* Editing Changes in Emacs 24.2
40
41** M-x move-to-column, if called interactively with no prefix arg, now
42prompts for a column number.
43
40 44
41* Changes in Specialized Modes and Packages in Emacs 24.2 45* Changes in Specialized Modes and Packages in Emacs 24.2
42 46
diff --git a/src/ChangeLog b/src/ChangeLog
index a55189fb3c3..63cb7a23da4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12012-04-13 Reuben Thomas <rrt@sc3d.org>
2
3 * indent.c (Fmove_to_column): Change interactive spec (Bug#739).
4
12012-04-11 Daniel Colascione <dancol@dancol.org> 52012-04-11 Daniel Colascione <dancol@dancol.org>
2 6
3 * s/cygwin.h: The vfork the #define in cygwin.h was protecting 7 * 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)
956 return val >= column; 956 return val >= column;
957} 957}
958 958
959DEFUN ("move-to-column", Fmove_to_column, Smove_to_column, 1, 2, "p", 959DEFUN ("move-to-column", Fmove_to_column, Smove_to_column, 1, 2,
960 "NMove to column:",
960 doc: /* Move point to column COLUMN in the current line. 961 doc: /* Move point to column COLUMN in the current line.
961Interactively, COLUMN is the value of prefix numeric argument. 962Interactively, COLUMN is the value of prefix numeric argument.
962The column of a character is calculated by adding together the widths 963The column of a character is calculated by adding together the widths