emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit d176c2a278 01/13: magit-custom-initialize-reset


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit d176c2a278 01/13: magit-custom-initialize-reset: Improve docstring
Date: Fri, 6 May 2022 15:58:11 -0400 (EDT)

branch: elpa/git-commit
commit d176c2a27809af9fd19cc4b09cf17397de12438b
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    magit-custom-initialize-reset: Improve docstring
---
 lisp/magit-base.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lisp/magit-base.el b/lisp/magit-base.el
index cb9ad67309..4747b9349f 100644
--- a/lisp/magit-base.el
+++ b/lisp/magit-base.el
@@ -1115,12 +1115,12 @@ setting `imenu--index-alist' to nil before calling that 
function."
 
 (defun magit-custom-initialize-reset (symbol exp)
   "Initialize SYMBOL based on EXP.
-Set the symbol, using `set-default' (unlike
-`custom-initialize-reset' which uses the `:set' function if any.)
-The value is either the symbol's current value
- (as obtained using the `:get' function), if any,
-or the value in the symbol's `saved-value' property if any,
-or (last of all) the value of EXP."
+Set the value of the variable SYMBOL, using `set-default'
+\(unlike `custom-initialize-reset', which uses the `:set'
+function if any).  The value is either the symbol's current
+value (as obtained using the `:get' function), if any, or
+the value in the symbol's `saved-value' property if any, or
+\(last of all) the value of EXP."
   (set-default-toplevel-value
    symbol
    (condition-case nil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]