branch: elpa/drupal-mode
commit 89f2043bde8075db515129e1ad03155271e9f07f
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>

    Suppress byte-compile-warning.
    
    Commit c727a18be70257741322d144ae2bebc3516575f6 produced a
    byte-compile-warning.
---
 drupal-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drupal-mode.el b/drupal-mode.el
index 917cffef68..0454b03612 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -479,7 +479,7 @@ should save your files with unix style end of line."
         ;; Older versions of `php-search-documentation' did not take arguments.
         (condition-case nil
             (php-search-documentation (symbol-name symbol))
-          (wrong-number-of-arguments (php-search-documentation))))
+          (wrong-number-of-arguments (with-no-warnings 
(php-search-documentation)))))
        ((and drupal-drush-program (string-match "drush" (symbol-name symbol)))
         (browse-url
          (format-spec drupal-drush-search-url `((?v . 
,(replace-regexp-in-string "\\([0-9]+\.\\).*\\'" "\\1x" 
(replace-regexp-in-string ".*-dev" "master" drupal-drush-version)))

Reply via email to