mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* src/editfns.c (Fchar_after): Small optimization.
This commit is contained in:
parent
bb47c72de3
commit
66d37175ec
1 changed files with 3 additions and 3 deletions
|
|
@ -1256,10 +1256,10 @@ If POS is out of range, the value is nil. */)
|
|||
if (NILP (pos))
|
||||
{
|
||||
pos_byte = PT_BYTE;
|
||||
XSETFASTINT (pos, PT);
|
||||
if (pos_byte < BEGV_BYTE || pos_byte >= ZV_BYTE)
|
||||
return Qnil;
|
||||
}
|
||||
|
||||
if (MARKERP (pos))
|
||||
else if (MARKERP (pos))
|
||||
{
|
||||
pos_byte = marker_byte_position (pos);
|
||||
if (pos_byte < BEGV_BYTE || pos_byte >= ZV_BYTE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue