Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4c92f429
Commit
4c92f429
authored
Mar 28, 2008
by
Andreas Schwab
Browse files
(Fmove_to_column): Move declaration before statements.
parent
c6de7e54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/ChangeLog
src/ChangeLog
+4
-0
src/indent.c
src/indent.c
+3
-2
No files found.
src/ChangeLog
View file @
4c92f429
2008-03-28 Andreas Schwab <schwab@suse.de>
* indent.c (Fmove_to_column): Move declaration before statements.
2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
* frame.h (enum fullscreen_type): Give it a name. Move it before use.
...
...
src/indent.c
View file @
4c92f429
...
...
@@ -1038,10 +1038,11 @@ The return value is the current column. */)
and scan through it again. */
if
(
!
NILP
(
force
)
&&
col
>
goal
)
{
int
c
;
EMACS_INT
pos_byte
=
PT_BYTE
;
DEC_POS
(
pos_byte
);
int
c
=
FETCH_CHAR
(
pos_byte
);
DEC_POS
(
pos_byte
);
c
=
FETCH_CHAR
(
pos_byte
);
if
(
c
==
'\t'
&&
prev_col
<
goal
)
{
EMACS_INT
goal_pt
,
goal_pt_byte
;
...
...
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