diff options
| author | Taylor R Campbell <campbell@mumble.net> | 2008-09-28 13:52:22 +0000 | 
|---|---|---|
| committer | Taylor R Campbell <campbell@mumble.net> | 2008-09-28 13:52:22 +0000 | 
| commit | 17852a0d897493bb493a67b3f36350ebb96e7d97 (patch) | |
| tree | b19a97355d9b6bcbb261d62b2cffba2cd0c7a0fe | |
| parent | ff2cbab8971a075bdcd87af0fa543ef04d361451 (diff) | |
Call `comment-forward' as a symbol with `funcall'.
This suppresses the compiler's warning about a function not known to
be defined.
darcs-hash:20080928135222-00fcc-5f4d902e13be97833fd28c5e611147c577ec1c41
| -rw-r--r-- | paredit.el | 5 | 
1 files changed, 4 insertions, 1 deletions
| @@ -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) | 
