aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-08-12 14:08:21 +0000
committerJim Blandy1992-08-12 14:08:21 +0000
commit5dadd3a2c35a9a63f8319c8fa0ee2ebba440e68b (patch)
tree977633884d55e3b547a6a0514452c62f0701da60 /src
parentd5045cf974c16263403ab35b7212780e1a8b17f0 (diff)
downloademacs-5dadd3a2c35a9a63f8319c8fa0ee2ebba440e68b.tar.gz
emacs-5dadd3a2c35a9a63f8319c8fa0ee2ebba440e68b.zip
* minibuf.c (Fcompleting_read): Stop subtracting one from the
starting position, so this function lives up to its doc string, which I think specifies an okay way to work.
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 47b7e1d99be..d95249aa5ab 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -847,7 +847,7 @@ Completion ignores case if the ambient value of\n\
847 { 847 {
848 CHECK_NUMBER (position, 0); 848 CHECK_NUMBER (position, 0);
849 /* Convert to distance from end of input. */ 849 /* Convert to distance from end of input. */
850 pos = XINT (position) - 1 - XSTRING (init)->size; 850 pos = XINT (position) - XSTRING (init)->size;
851 } 851 }
852 } 852 }
853 853