* riece-google.el (riece-google-default-lang): Change value.
authorbg66 <bg66>
Fri, 4 Feb 2005 01:59:22 +0000 (01:59 +0000)
committerbg66 <bg66>
Fri, 4 Feb 2005 01:59:22 +0000 (01:59 +0000)
(riece-google-display-message-function): Follow the change above.

lisp/ChangeLog
lisp/riece-google.el

index f029570..57a496c 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-04  OHASHI Akira  <bg66@koka-in.org>
+
+       * riece-google.el (riece-google-default-lang): Change value.
+       (riece-google-display-message-function): Follow the change above.
+
 2005-02-03  OHASHI Akira  <bg66@koka-in.org>
 
        * riece-google.el: New add-on.
index b149774..f9c7ef0 100644 (file)
@@ -147,9 +147,11 @@ end
   :type 'string
   :group 'riece-google)
 
-(defcustom riece-google-default-lang "lang_ja"
+(defcustom riece-google-default-lang '("lang_en" "lang_ja")
   "*Default language for search keywords."
-  :type 'string
+  :type '(repeat (choice (const "lang_en" :tag "English")
+                        (const "lang_ja" :tag "Japanese")
+                        (string :tag "The other language")))
   :group 'riece-google)
 
 (defconst riece-google-regexp
@@ -178,6 +180,8 @@ end
          (coding-system-for-write 'binary)
          (process (start-process "Google" (generate-new-buffer " *Google*")
                                  riece-google-ruby-command)))
+      (when (listp lang)
+       (setq lang (mapconcat #'identity lang " ")))
       (setq riece-google-target (riece-message-target message))
       (process-send-string process
                           (apply #'concat