Prevent an args-out-of-range error during login/out
[riece] / lisp / riece-google.el
index 368d431..d596a06 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-google.el --- search keywords by Google
+;;; riece-google.el --- search keywords by Google -*- lexical-binding: t -*-
 ;; Copyright (C) 2005 OHASHI Akira
 
 ;; Author: OHASHI Akira <bg66@koka-in.org>
@@ -19,8 +19,8 @@
 
 ;; You should have received a copy of the GNU General Public License
 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
 
 ;;; Commentary:
 
@@ -136,7 +136,7 @@ rescue Exception => e
 end
 ")
   "Ruby program for searching by Google."
-  :type 'list
+  :type 'sexp
   :group 'riece-google)
 
 (defcustom riece-google-license-key nil
@@ -210,7 +210,7 @@ end
                                  (buffer-substring (point-min) (point)))
        (delete-region (point-min) (progn (beginning-of-line 2) (point)))))))
 
-(defun riece-google-sentinel (process string)
+(defun riece-google-sentinel (process _string)
   (delete-process process))
 
 (defun riece-google-send-string (target message)
@@ -236,12 +236,6 @@ end
   (remove-hook 'riece-after-display-message-functions
               'riece-google-display-message-function))
 
-(defun riece-google-enable ()
-  )
-
-(defun riece-google-disable ()
-  )
-
 (provide 'riece-google)
 
 ;;; riece-google.el ends here