* riece-skk-kakutei.el (riece-skk-kakutei-enabled): New flag.
authorkaoru <kaoru>
Fri, 21 May 2004 08:45:57 +0000 (08:45 +0000)
committerkaoru <kaoru>
Fri, 21 May 2004 08:45:57 +0000 (08:45 +0000)
(riece-skk-kakutei-description): New variable.
(riece-skk-kakutei-insinuate): Nothing to do.
(riece-skk-kakutei-enable): New function.
(riece-skk-kakutei-disable): New function.

lisp/ChangeLog
lisp/riece-skk-kakutei.el

index 89a4efb..c3adee2 100644 (file)
@@ -1,3 +1,11 @@
+2004-05-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
+
+       * riece-skk-kakutei.el (riece-skk-kakutei-enabled): New flag.
+       (riece-skk-kakutei-description): New variable.
+       (riece-skk-kakutei-insinuate): Nothing to do.
+       (riece-skk-kakutei-enable): New function.
+       (riece-skk-kakutei-disable): New function.
+
 2004-05-21  Daiki Ueno  <ueno@unixuser.org>
 
        * riece-highlight.el (riece-highlight-setup-dialogue): Simplified.
index 03ec5a0..17e52da 100644 (file)
 
 (eval-when-compile (require 'riece))
 
+(defvar riece-skk-kakutei-enabled nil)
+
+(defconst riece-highlight-description
+  "Deny SKK's sankaku send")
+
 (defun riece-skk-kakutei-command-enter-message ()
   "Send the current line to the current channel."
   (interactive)
         t)))
 
 (defun riece-skk-kakutei-insinuate ()
+  )
+
+(defun riece-skk-kakutei-enable ()
   (riece-define-keys riece-command-mode-map
     "\r" riece-skk-kakutei-command-enter-message
-    [(control return)] riece-skk-kakutei-command-enter-message-as-notice))
+    [(control return)] riece-skk-kakutei-command-enter-message-as-notice)
+  (setq riece-skk-kakutei-enabled t))
+
+(defun riece-skk-kakutei-disable ()
+  (riece-define-keys riece-command-mode-map
+    "\r" riece-command-enter-message
+    [(control return)] riece-command-enter-message-as-notice)
+  (setq riece-skk-kakutei-enabled nil))
 
 (provide 'riece-skk-kakutei)