[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/diff-hl 8093f28 3/4: Merge pull request #166 from wyuen
From: |
ELPA Syncer |
Subject: |
[elpa] externals/diff-hl 8093f28 3/4: Merge pull request #166 from wyuenho/fix-defcustom-types |
Date: |
Sat, 3 Jul 2021 15:57:10 -0400 (EDT) |
branch: externals/diff-hl
commit 8093f28a4a5a513475056f866563b09a7aa52dfe
Merge: 1077c73 aac1c9b
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: GitHub <noreply@github.com>
Merge pull request #166 from wyuenho/fix-defcustom-types
Fix type mismatch in defcustoms
---
diff-hl-show-hunk-posframe.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/diff-hl-show-hunk-posframe.el b/diff-hl-show-hunk-posframe.el
index 522a6bc..ba77151 100644
--- a/diff-hl-show-hunk-posframe.el
+++ b/diff-hl-show-hunk-posframe.el
@@ -53,11 +53,13 @@
(defcustom diff-hl-show-hunk-posframe-poshandler nil
"Poshandler of the posframe (see `posframe-show`)."
- :type 'function)
+ :type '(choice function
+ (const :tag "None" nil)))
(defcustom diff-hl-show-hunk-posframe-parameters nil
"The frame parameters used by helm-posframe."
- :type 'string)
+ :type '(choice string
+ (const :tag "None" nil)))
(defface diff-hl-show-hunk-posframe '((t nil))
"Face for the posframe buffer.