summaryrefslogtreecommitdiff
path: root/lisp/net/dig.el
diff options
context:
space:
mode:
authorTorsten Hilbrich <torsten.hilbrich@gmx.net>2020-11-19 08:23:07 +0100
committerTorsten Hilbrich <torsten.hilbrich@gmx.net>2020-11-19 08:23:07 +0100
commit2f1e4fbc426624420159026b758c90a923a9b560 (patch)
tree793e6ae925edcd885cfda582cf27a6cf1be52a8f /lisp/net/dig.el
parent837505075c942183cac004cb8fa0c0e57c82535d (diff)
downloademacs-2f1e4fbc426624420159026b758c90a923a9b560.tar.gz
emacs-2f1e4fbc426624420159026b758c90a923a9b560.tar.bz2
emacs-2f1e4fbc426624420159026b758c90a923a9b560.zip
Support nil value for dictionary-server
* net/lisp/dictionary.el (dictionary-server): Support choice to select the dictionary server to use * net/lisp/dictionary.el (dictionary-check-connection): Support nil value for dictionary-server This nil value is the new default value of that variable. When opening a new connection and dictionary-server is nil the code behaves the following way: - it will first try to connect to a dictd server running on localhost - if that fails, it queries the user if the alternative server (dict.org) should be consulted - if the user agrees, the connection is made to dict.org This allows the default value of dictionary-server not to connect a remote server by default. The user is always able to select a different server by customizing the variable dictionary-search.
Diffstat (limited to 'lisp/net/dig.el')
0 files changed, 0 insertions, 0 deletions