Function: dictionary-set-server-var
dictionary-set-server-var is a byte-compiled function defined in
dictionary.el.gz.
Signature
(dictionary-set-server-var NAME VALUE)
Documentation
Customize helper for setting variable NAME to VALUE.
The helper is used by customize to check for an active connection when setting a variable. The user has then the choice to close the existing connection.
Source Code
;; Defined in /usr/src/emacs/lisp/net/dictionary.el.gz
(defun dictionary-set-server-var (name value)
"Customize helper for setting variable NAME to VALUE.
The helper is used by customize to check for an active connection
when setting a variable. The user has then the choice to close
the existing connection."
(if (and (boundp 'dictionary-connection)
dictionary-connection
(eq (dictionary-connection-status dictionary-connection) 'up)
(y-or-n-p
(concat "Close existing connection to " dictionary-current-server "? ")))
(dictionary-connection-close dictionary-connection))
(set-default name value))