aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2015-09-13 09:13:22 -0700
committerPaul Eggert2015-09-13 09:13:55 -0700
commit59e3f2df9314e160b37bb1375b4bad15976cd56f (patch)
tree15ed52b27c5b01ce508a888fdb82985ce42f9675 /src
parent6514b30e6eb14e9d2364c08526dc8440a7412fef (diff)
downloademacs-59e3f2df9314e160b37bb1375b4bad15976cd56f.tar.gz
emacs-59e3f2df9314e160b37bb1375b4bad15976cd56f.zip
* src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
Diffstat (limited to 'src')
-rw-r--r--src/indent.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/indent.c b/src/indent.c
index 777cd36cc52..ded18439fd9 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -2203,10 +2203,7 @@ whether or not it is currently displayed in some window. */)
2203 and then reposition point at the requested X coordinate; 2203 and then reposition point at the requested X coordinate;
2204 if we don't, the cursor will be placed just after the 2204 if we don't, the cursor will be placed just after the
2205 string, which might not be the requested column. */ 2205 string, which might not be the requested column. */
2206 if (nlines > 0 2206 if (nlines > 0 && it.area == TEXT_AREA)
2207 && it.method == GET_FROM_STRING
2208 && !it.string_from_display_prop_p
2209 && it.area == TEXT_AREA)
2210 { 2207 {
2211 while (it.method == GET_FROM_STRING 2208 while (it.method == GET_FROM_STRING
2212 && !it.string_from_display_prop_p 2209 && !it.string_from_display_prop_p