Function: gnus-method-simplify

gnus-method-simplify is a byte-compiled function defined in gnus.el.gz.

Signature

(gnus-method-simplify METHOD)

Documentation

Return the shortest uniquely identifying string or method for METHOD.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus.el.gz
(defun gnus-method-simplify (method)
  "Return the shortest uniquely identifying string or method for METHOD."
  (cond ((stringp method)
	 method)
	((gnus-native-method-p method)
	 nil)
	((gnus-secondary-method-p method)
	 (format "%s:%s" (nth 0 method) (nth 1 method)))
	(t
	 method)))