From: Eric Abrahamsen Date: Wed, 25 Jul 2018 19:13:36 +0000 (-0700) Subject: Fix docstring of gnus-dependencies-add-header X-Git-Tag: emacs-27.0.90~4664^2~28 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a3b32a8be1e01ba10ecae9abc27214298467c995;p=emacs.git Fix docstring of gnus-dependencies-add-header * lisp/gnus/gnus-sum.el (gnus-dependencies-add-header): Code is correct, but docs had logic of `gnus-summary-ignore-duplicates' backwards: if it's t, the Message-IDs will not be renamed. --- diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index e562b30170a..ceb98421665 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -4310,10 +4310,10 @@ If SELECT-ARTICLES, only select those articles from GROUP." If FORCE-NEW is not nil, enter HEADER into the DEPENDENCIES table even if it was already present. -If `gnus-summary-ignore-duplicates' is nil then duplicate Message-IDs -will not be entered in the DEPENDENCIES table. Otherwise duplicate -Message-IDs will be renamed to a unique Message-ID before being -entered. +If `gnus-summary-ignore-duplicates' is non-nil then duplicate +Message-IDs will not be entered in the DEPENDENCIES table. +Otherwise duplicate Message-IDs will be renamed to a unique +Message-ID before being entered. Returns HEADER if it was entered in the DEPENDENCIES. Returns nil otherwise." (let* ((id (mail-header-id header))