aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/proof-utils.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2010-08-03 14:49:01 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2010-08-03 14:49:01 +0000
commitec4179d75c368d1a0ef10deabcdce23ca0ac490e (patch)
treeebeb6151aa8c43ad549650c2d8680612665aa93d /generic/proof-utils.el
parent18af1a7039675c564bbbc9b079232b7be5b05c35 (diff)
proof-deftoggle-fn: make ARG optional as suggested by docstring
Diffstat (limited to 'generic/proof-utils.el')
-rw-r--r--generic/proof-utils.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/proof-utils.el b/generic/proof-utils.el
index bb94ed0d..ff064b5b 100644
--- a/generic/proof-utils.el
+++ b/generic/proof-utils.el
@@ -726,7 +726,7 @@ or if the window is the only window of its frame."
Args as for the macro `proof-deftoggle', except will be evaluated."
(eval
`(defun ,(if othername othername
- (intern (concat (symbol-name var) "-toggle"))) (arg)
+ (intern (concat (symbol-name var) "-toggle"))) (&optional arg)
,(concat "Toggle `" (symbol-name var) "'. With ARG, turn on iff ARG>0.
This function simply uses customize-set-variable to set the variable.
It was constructed with `proof-deftoggle-fn'.")