#include "frame.h"
#include "insdel.h"
#include "window.h"
+#include "casetab.h"
#include "chartab.h"
#include "line-number.h"
{
mkdir(path, 0700); /* ignore retval -- checked next anyway. */
}
- if (lstat(path, &st) == 0 && st.st_uid == myuid && S_ISDIR(st.st_mode))
+ if (lstat(path, &st) == 0 && st.st_uid == (uid_t) myuid &&
+ S_ISDIR(st.st_mode))
{
tmpdir = path;
}
#endif
tem = ((!NILP (user) && !pw)
? Qnil
- : make_ext_string ((Extbyte *) p, (q ? q - p : strlen (p)),
+ : make_ext_string ((Extbyte *) p, (q ? q - p : (int) strlen (p)),
Qnative));
#ifdef AMPERSAND_FULL_NAME
arg = wrong_type_argument (Qchar_or_string_p, arg);
goto retry;
}
- zmacs_region_stays = 0;
UNGCPRO;
}
goto retry;
}
}
- zmacs_region_stays = 0;
return Qnil;
}
struct buffer *b = decode_buffer (buffer, 1);
CHECK_STRING (string);
buffer_insert_lisp_string (b, string);
- zmacs_region_stays = 0;
return Qnil;
}
buffer_insert_raw_string (b, string, n);
#endif
- zmacs_region_stays = 0;
return Qnil;
}
REGISTER Charcount len1, len2, length, i;
struct buffer *bp1, *bp2;
Lisp_Object trt = ((!NILP (current_buffer->case_fold_search)) ?
- current_buffer->case_canon_table : Qnil);
+ XCASE_TABLE_CANON (current_buffer->case_table) : Qnil);
/* Find the first buffer and its substring. */
get_buffer_range_char (buf, start, end, &bp_start, &bp_end, 0);
buffer_delete_range (buf, bp_start, bp_end, 0);
- zmacs_region_stays = 0;
return Qnil;
}
\f
{
struct buffer *b = decode_buffer (buffer, 1);
widen_buffer (b, 0);
- zmacs_region_stays = 0;
return Qnil;
}
/* Changing the buffer bounds invalidates any recorded current column. */
invalidate_current_column ();
narrow_line_number_cache (buf);
- zmacs_region_stays = 0;
return Qnil;
}