summaryrefslogtreecommitdiff
path: root/paredit.el
diff options
context:
space:
mode:
Diffstat (limited to 'paredit.el')
-rw-r--r--paredit.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/paredit.el b/paredit.el
index 4e10d52..724f4df 100644
--- a/paredit.el
+++ b/paredit.el
@@ -1027,7 +1027,10 @@ At the top level, where indentation is calculated to be at column 0,
(lambda (beginning end &optional argument)
(interactive "*r\nP")
(funcall (if (save-excursion (goto-char beginning)
- (comment-forward (point-max))
+ ;; This is not defined until `newcomment'
+ ;; is loaded. Using `funcall' with a
+ ;; symbol shuts up the compiler.
+ (funcall 'comment-forward (point-max))
(<= end (point)))
'uncomment-region
'comment-region)