Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f109dfa2
Commit
f109dfa2
authored
Sep 15, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include window.h.
(Fnewline): Inhibit the insert-at-end-of-line hack when at the top of the window.
parent
27f314bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/cmds.c
src/cmds.c
+6
-0
No files found.
src/cmds.c
View file @
f109dfa2
...
...
@@ -23,6 +23,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "commands.h"
#include "buffer.h"
#include "syntax.h"
#include "window.h"
Lisp_Object
Qkill_forward_chars
,
Qkill_backward_chars
,
Vblink_paren_function
;
...
...
@@ -253,6 +254,11 @@ In Auto Fill mode, if no numeric arg, break the preceding line if it's long.")
features all do nothing in that case. */
flag
=
point
>
BEGV
&&
FETCH_CHAR
(
point
-
1
)
==
'\n'
;
/* Don't do this if at the beginning of the window. */
if
(
XBUFFER
(
XWINDOW
(
selected_window
)
->
buffer
)
==
current_buffer
&&
marker_position
(
XWINDOW
(
selected_window
)
->
start
)
==
PT
)
flag
=
0
;
#ifdef USE_TEXT_PROPERTIES
/* We cannot use this optimization if properties change
in the vicinity.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment