branch: elpa/symbol-overlay
commit dc3a9b4cd3a2cf565a32d69091d2b6af2abb6e1e
Merge: b76f510037 7d77f2e962
Author: wolray <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #23 from tarsiiformes/custom-type
Declare symbol-overlay-ignore-functions's custom type
---
symbol-overlay.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/symbol-overlay.el b/symbol-overlay.el
index 2252f0eb40..e05275b7fc 100644
--- a/symbol-overlay.el
+++ b/symbol-overlay.el
@@ -159,8 +159,8 @@ This is an association list that maps a MAJOR-MODE symbol
to a
function that determines whether a symbol should be ignored. For
instance, such a function could use a major mode's font-lock
definitions to prevent a language's keywords from getting highlighted."
- :group 'symbol-overlay)
-;; todo: add :type
+ :group 'symbol-overlay
+ :type '(repeat (cons (function :tag "Mode") function)))
(defvar symbol-overlay-map
(let ((map (make-sparse-keymap)))