Revision: mange@freemail.hu--2005/emacs-jabber--cvs-head--0--patch-599

Creator:  Magnus Henoch <mange@freemail.hu>

Fix docstring and type of jabber-ft-md5sum-program
This commit is contained in:
Magnus Henoch 2008-09-29 12:53:35 +00:00 committed by Kirill A. Korinskiy
parent e3ba734277
commit ac7cdf6d6a

View File

@ -1,6 +1,6 @@
;;; jabber-ft-common.el --- Common functions for sending and receiving files (JEP-0096) ;;; jabber-ft-common.el --- Common functions for sending and receiving files (JEP-0096)
;; Copyright (C) 2006 Magnus Henoch ;; Copyright (C) 2006, 2008 Magnus Henoch
;; Author: Magnus Henoch <mange@freemail.hu> ;; Author: Magnus Henoch <mange@freemail.hu>
@ -24,8 +24,10 @@
(when (executable-find "md5sum") (when (executable-find "md5sum")
(list (executable-find "md5sum")))) (list (executable-find "md5sum"))))
"The program to use to calculate MD5 sums of files. "The program to use to calculate MD5 sums of files.
It should accept the file name as the only argument." The first item should be the name of the program, and the remaing
:type 'string items the arguments. The file name is appended as the last
argument."
:type '(repeat string)
:group 'jabber) :group 'jabber)
(defun jabber-ft-get-md5 (file-name) (defun jabber-ft-get-md5 (file-name)