diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-01-09 00:06:46 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-01-09 00:06:46 +0100 |
commit | a614316ce70a060cb8b10557f7614fb3fda65b4c (patch) | |
tree | dd1471e009ff1c63c81644ea16c8c89606ecf6b5 /elisp/geiser-mode.el | |
parent | 724decb06c4757506da489794651b70f778f97b8 (diff) | |
download | geiser-a614316ce70a060cb8b10557f7614fb3fda65b4c.tar.gz geiser-a614316ce70a060cb8b10557f7614fb3fda65b4c.tar.bz2 |
Autodoc mode (de)activation fix.
Quoth Mark:
When the Geiser minor mode is toggled off using the command
`geiser-mode', the message:
Toggling eldoc-mode off; better pass an explicit argument.
is displayed in the echo area. This is traceable to line 219:
(eldoc-mode geiser-autodoc-mode)
The function `eldoc-mode' takes numeric arguments, while
`geiser-autodoc-mode' returns boolean values. Here is a
simple patch:
(eldoc-mode (if geiser-autodoc-mode 1 -1))
Diffstat (limited to 'elisp/geiser-mode.el')
0 files changed, 0 insertions, 0 deletions