diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-10-04 16:29:51 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-10-04 16:29:51 +0000 |
commit | 6f9b90996b7ad96ad37b3fce5ddbd63babf20874 (patch) | |
tree | c916af831f2654fe3606afaf1811893e35d46531 /japanese/jed/files | |
parent | Change maintainer's e-mail address. (diff) |
Add a patch for lib/abbrev.sl to fix abbrev_mode.
Obtained from: s-lang@juice.or.jp mailing list
Notes
Notes:
svn path=/head/; revision=33413
Diffstat (limited to 'japanese/jed/files')
-rw-r--r-- | japanese/jed/files/patch-ag | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/japanese/jed/files/patch-ag b/japanese/jed/files/patch-ag new file mode 100644 index 000000000000..f5f5b29b6dd2 --- /dev/null +++ b/japanese/jed/files/patch-ag @@ -0,0 +1,22 @@ +--- 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); + } + |