]> code.delx.au - gnu-emacs/blobdiff - lisp/erc/erc-desktop-notifications.el
Fix a bunch of custom types (thank you cus-test.el)
[gnu-emacs] / lisp / erc / erc-desktop-notifications.el
index 2cff817b34c652c88bbe3b2b92b232ba7367aa3a..ac6c202b18a097b45751a2289cee8e4fb3cdcb88 100644 (file)
@@ -44,7 +44,7 @@
 (defcustom erc-notifications-icon nil
   "Icon to use for notification."
   :group 'erc-notifications
-  :type 'file)
+  :type '(choice (const :tag "No icon" nil) file))
 
 (defun erc-notifications-notify (nick msg)
   "Notify that NICK send some MSG.