* ew-var.el (ew-dynamic-options): The result is now integer instead
authorakr <akr>
Thu, 20 Aug 1998 11:22:56 +0000 (11:22 +0000)
committerakr <akr>
Thu, 20 Aug 1998 11:22:56 +0000 (11:22 +0000)
of list of booleans.

ChangeLog
ew-var.el

index 66e916d..b8e9dc6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 1998-08-20  Tanaka Akira      <akr@jaist.ac.jp>
 
+       * ew-var.el (ew-dynamic-options): The result is now integer instead
+       of list of booleans.
+
+1998-08-20  Tanaka Akira      <akr@jaist.ac.jp>
+
        * Makefile: Output parse table to ew-parse.out instead of
        states.output.
 
index 1d64cc7..1284d94 100644 (file)
--- a/ew-var.el
+++ b/ew-var.el
 ;;; utilities for variables.
 
 (defun ew-dynamic-options ()
-  (list
-   ew-decode-sticked-encoded-word
-   ew-decode-quoted-encoded-word
-   ew-ignore-75bytes-limit
-   ew-ignore-76bytes-limit
-   ew-permit-sticked-comment
-   ew-permit-sticked-special))
+  (logior
+   (if ew-decode-sticked-encoded-word 1 0)
+   (if ew-decode-quoted-encoded-word 2 0)
+   (if ew-ignore-75bytes-limit 4 0)
+   (if ew-ignore-76bytes-limit 8 0)
+   (if ew-permit-sticked-comment 16 0)
+   (if ew-permit-sticked-special 32 0)))