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

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

[elpa] externals/diff-hl aac1c9b 2/4: Fix type mismatch in defcustoms


From: ELPA Syncer
Subject: [elpa] externals/diff-hl aac1c9b 2/4: Fix type mismatch in defcustoms
Date: Sat, 3 Jul 2021 15:57:10 -0400 (EDT)

branch: externals/diff-hl
commit aac1c9b4c10be7402448c6a832e25c1dae33ff53
Author: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
Commit: Jimmy Yuen Ho Wong <wyuenho@gmail.com>

    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.



reply via email to

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