branch: elpa/magit commit 9914feb4d5a2feab091076be554d80781594869d Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
Do not symbol-quote booleans in docstrings IMO that is a (small) step backward, especially when the possible values include other symbols beside the booleans, but its not worth getting into a disagreement with checkdoc about this. --- lisp/magit-base.el | 2 +- lisp/magit-branch.el | 6 +++--- lisp/magit-diff.el | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lisp/magit-base.el b/lisp/magit-base.el index 96aba336a9..3a17b1464e 100644 --- a/lisp/magit-base.el +++ b/lisp/magit-base.el @@ -329,7 +329,7 @@ Various: Global settings: Instead of adding all of the above symbols to the value of this - option you can also set it to the atom `t', which has the same + option you can also set it to the atom t, which has the same effect as adding all of the above symbols. Doing that most certainly is a bad idea, especially because other symbols might be added in the future. So even if you don't want to be asked diff --git a/lisp/magit-branch.el b/lisp/magit-branch.el index 3411046d62..fca914f103 100644 --- a/lisp/magit-branch.el +++ b/lisp/magit-branch.el @@ -38,8 +38,8 @@ (defcustom magit-branch-read-upstream-first t "Whether to read upstream before name of new branch when creating a branch. -`nil' Read the branch name first. -`t' Read the upstream first. +nil Read the branch name first. +t Read the upstream first. `fallback' Read the upstream first, but if it turns out that the chosen value is not a valid upstream (because it cannot be resolved as an existing revision), then treat it as the name of the @@ -177,7 +177,7 @@ When t, then rename the branch named OLD on the remote specified remote and unless NEW already exists on the remote. When `forge-only' and the `forge' package is available, then - behave like `t' if the remote points to a repository on a forge + behave like t if the remote points to a repository on a forge (currently Github or Gitlab), otherwise like `local-only'." :package-version '(magit . "2.90.0") :group 'magit-commands diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el index cd36b63053..bf47e03c87 100644 --- a/lisp/magit-diff.el +++ b/lisp/magit-diff.el @@ -412,8 +412,8 @@ subject to option `magit-revision-insert-related-refs'." (defcustom magit-revision-insert-related-refs t "Whether to show related branches in revision buffers. -`nil' Don't show any related branches. -`t' Show related local branches. +nil Don't show any related branches. +t Show related local branches. `all' Show related local and remote branches. `mixed' Show all containing branches and local merged branches. @@ -433,10 +433,10 @@ This is an alist, with recognised keys being the symbols `parents', `merged', `contained', `follows', and `precedes'; and the supported values for each key being: -`nil' Hide these related branches. -`t' Show these related branches. +nil Hide these related branches. +t Show these related branches. -Keys which are not present in the alist have an implicit value `t' +Keys which are not present in the alist have an implicit value t \(so the default alist value of nil means all related branch types will be shown.)