freebsd-ports/japanese/jed/files/patch-lib_abbrev.sl
Adam Weinberger f9d86cf02f Rename the rather surprising number of japanese/ patch-xy patches
to reflect the files they modify.
2014-07-28 22:14:07 +00:00

22 lines
571 B
Text

--- lib/abbrev.sl 2000/10/01 17:41:08 1.1
+++ lib/abbrev.sl 2000/10/01 17:41:46
@@ -32,16 +32,16 @@
define set_abbrev_mode (val)
{
getbuf_info ();
- if (val) () | 0x800; else () & ~(0x800);
+ if (val) () | 0x1000; else () & ~(0x1000);
setbuf_info(());
}
define abbrev_mode ()
{
- variable flags = getbuf_info() xor 0x800;
+ variable flags = getbuf_info() xor 0x1000;
variable msg = "Abbrev mode OFF";
setbuf_info(flags);
- if (flags & 0x800) msg = "Abbrev mode ON";
+ if (flags & 0x1000) msg = "Abbrev mode ON";
message (msg);
}