aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/holes.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/holes.el b/lib/holes.el
index fa7f6f92..691b974c 100644
--- a/lib/holes.el
+++ b/lib/holes.el
@@ -612,11 +612,11 @@ Sets `holes-active-hole' to the next hole if it exists."
"see `mouse-selection-click-count'"
(+ mouse-selection-click-count 1)))
(t
- (error
+ (unless noninteractive
+ ;; da: ^^^^ avoid error in "make doc" (mouse functions undefined?)
+ (error
"Your (X)Emacs version is not compatible with holes (too old or
- new version?), sorry"))
- )
- )
+ new version?), sorry")))))
(defun holes-mouse-replace-active-hole (event)
; checkdoc-params: (event)