Show
Ignore:
Timestamp:
2006年09月09日 16時30分10秒 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lisp/gnus/gnus-util.el

    r4073 r4161  
    607607         (substring gname (match-end 0)) 
    608608       gname))) 
     609 
     610(defmacro gnus-group-server (group) 
     611  "Find the server name of a foreign newsgroup. 
     612For example, (gnus-group-server \"nnimap+yxa:INBOX.foo\") would 
     613yield \"nnimap:yxa\"." 
     614  `(let ((gname ,group)) 
     615     (if (string-match "^\\([^:+]+\\)\\(?:\\+\\([^:]*\\)\\)?:" gname) 
     616         (format "%s:%s" (match-string 1 gname) (or 
     617                                                 (match-string 2 gname) 
     618                                                 "")) 
     619       (format "%s:%s" (car gnus-select-method) (cadr gnus-select-method))))) 
    609620 
    610621(defun gnus-make-sort-function (funs)