(require 'liece-intl)
(require 'liece-menu))
-(defvar browse-url-browser-function)
+(require 'delegate)
(defgroup liece-url nil
"URL Browsing in IRC buffer."
:group 'liece-url
:type 'regexp)
-(defcustom liece-url-browser-function browse-url-browser-function
+(define-delegated-variable-alias 'browse-url-browser-function
+ 'liece-url-browser-function
+ "browse-url")
+(defcustom liece-url-browser-function
+ (delegated-variable-get-safe 'liece-url-browser-function)
"Default URL Browser."
:group 'liece-url)