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
92fddec9
Commit
92fddec9
authored
Mar 22, 1994
by
Karl Heuer
Browse files
(unreadchar): Don't back up the pointer when unreading EOF.
parent
f943104a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/lread.c
src/lread.c
+5
-1
No files found.
src/lread.c
View file @
92fddec9
...
...
@@ -165,7 +165,11 @@ unreadchar (readcharfun, c)
Lisp_Object
readcharfun
;
int
c
;
{
if
(
XTYPE
(
readcharfun
)
==
Lisp_Buffer
)
if
(
c
==
-
1
)
/* Don't back up the pointer if we're unreading the end-of-input mark,
since readchar didn't advance it when we read it. */
;
else
if
(
XTYPE
(
readcharfun
)
==
Lisp_Buffer
)
{
if
(
XBUFFER
(
readcharfun
)
==
current_buffer
)
SET_PT
(
point
-
1
);
...
...
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