diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-03-29 01:10:03 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-03-29 01:10:03 +0100 |
| commit | 7b13ced2978fec4a45bf24a9124d9767249a55a5 (patch) | |
| tree | a5603a872e93e462710ecf119299f170fd9fe91a /lisp/magit-refs.el | |
| parent | 107e9015e69585e1b0fd551b5b95df6619bdd61c (diff) | |
Use ## more
Diffstat (limited to 'lisp/magit-refs.el')
| -rw-r--r-- | lisp/magit-refs.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/magit-refs.el b/lisp/magit-refs.el index 09eb881..be8a961 100644 --- a/lisp/magit-refs.el +++ b/lisp/magit-refs.el @@ -63,7 +63,7 @@ To change the value in an existing buffer use the command `magit-refs-set-show-commit-count'." :package-version '(magit . "2.1.0") :group 'magit-refs - :safe (lambda (val) (memq val '(all branch nil))) + :safe (##memq % '(all branch nil)) :type '(choice (const :tag "For branches and tags" all) (const :tag "For branches only" branch) (const :tag "Never" nil))) @@ -134,7 +134,7 @@ AUTHOR-WIDTH has to be an integer. When the name of the author :package-version '(magit . "2.9.0") :group 'magit-refs :group 'magit-margin - :safe (lambda (val) (memq val '(all branch nil))) + :safe (##memq % '(all branch nil)) :type magit-log-margin--custom-type :initialize #'magit-custom-initialize-reset :set-after '(magit-log-margin) @@ -333,8 +333,7 @@ Type \\[magit-reset] to reset `HEAD' to the commit at point. (transient-define-prefix magit-show-refs (&optional transient) "List and compare references in a dedicated buffer." :man-page "git-branch" - :value (lambda () - (magit-show-refs-arguments magit-prefix-use-buffer-arguments)) + :value (##magit-show-refs-arguments magit-prefix-use-buffer-arguments) ["Arguments" (magit-for-each-ref:--contains) ("-M" "Merged" "--merged=" magit-transient-read-revision) |
