aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmds.c
diff options
context:
space:
mode:
authorJim Blandy1992-05-18 08:13:37 +0000
committerJim Blandy1992-05-18 08:13:37 +0000
commit502ddf238f0ed280a301426804b2ed16ec1c49cc (patch)
treeb73b5866ff8c59b1be99067bcb342aea95294e8c /src/cmds.c
parentf9f15513851223c20a9cbc49ac0cd4cde114a963 (diff)
downloademacs-502ddf238f0ed280a301426804b2ed16ec1c49cc.tar.gz
emacs-502ddf238f0ed280a301426804b2ed16ec1c49cc.zip
entered into RCS
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 2a212ad6223..915c185bafc 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -1,11 +1,11 @@
1/* Simple built-in editing commands. 1/* Simple built-in editing commands.
2 Copyright (C) 1985 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1992 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
6GNU Emacs is free software; you can redistribute it and/or modify 6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 1, or (at your option) 8the Free Software Foundation; either version 2, or (at your option)
9any later version. 9any later version.
10 10
11GNU Emacs is distributed in the hope that it will be useful, 11GNU Emacs is distributed in the hope that it will be useful,
@@ -94,7 +94,8 @@ With positive ARG, a non-empty line at the end counts as one line\n\
94 pos = scan_buffer ('\n', pos2, count - negp, &shortage); 94 pos = scan_buffer ('\n', pos2, count - negp, &shortage);
95 if (shortage > 0 95 if (shortage > 0
96 && (negp 96 && (negp
97 || (ZV >= BEGV 97 || (ZV > BEGV
98 && pos != pos2
98 && FETCH_CHAR (pos - 1) != '\n'))) 99 && FETCH_CHAR (pos - 1) != '\n')))
99 shortage--; 100 shortage--;
100 SET_PT (pos); 101 SET_PT (pos);