Changeset 4161 for trunk/lisp/gnus/gnus-util.el
- Timestamp:
- 2006年09月09日 16時30分10秒 (2 years ago)
- Files:
-
- trunk/lisp/gnus/gnus-util.el (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/gnus/gnus-util.el
r4073 r4161 607 607 (substring gname (match-end 0)) 608 608 gname))) 609 610 (defmacro gnus-group-server (group) 611 "Find the server name of a foreign newsgroup. 612 For example, (gnus-group-server \"nnimap+yxa:INBOX.foo\") would 613 yield \"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))))) 609 620 610 621 (defun gnus-make-sort-function (funs)
