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

    Autoload `drupal-search-url' as safe-local-variable.
---
 drupal-mode.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drupal-mode.el b/drupal-mode.el
index 04321e34f3..47c7b798a2 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -98,9 +98,11 @@ whitespace at the end."
                  (string :tag "Other" "http://example.com/api/search/%v/%s";))
   :link '(url-link :tag "api.drupalcontrib.org" "http://api.drupalcontrib.org";)
   :link '(url-link :tag "api.drupal.org" "http://api.drupal.org";)
-  :safe 'string-or-null-p
   :group 'drupal)
 
+;;;###autoload
+(put 'drupal-search-url 'safe-local-variable 'string-or-null-p)
+
 
 (defcustom drupal-drush-search-url "http://api.drush.org/api/search/%v/%s";
   "The URL to search the Drush API.

Reply via email to