branch: elpa/drupal-mode
commit c81cdfd3434d47680ba6fa01bc46ae3e06cc5f3e
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Made `drupal-search-url' et el safe for `string-or-null-p'.
`drupal-search-url' and `drupal-drush-search-url' can now safely be
set to values matching the `string-or-null-p' predicate.
This allows you to set them i.e. in .dir-locals.el if you have
specially crafted API-sites for a project.
---
drupal-mode.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drupal-mode.el b/drupal-mode.el
index 897c10e308..04321e34f3 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -98,6 +98,7 @@ 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)
@@ -108,6 +109,7 @@ whitespace at the end."
:type '(choice (const :tag "Api.drush.org"
"http://api.drush.org/api/search/%v/%s")
(string :tag "Other" "http://example.com/api/search/%v/%s"))
:link '(url-link :tag "api.drush.org" "http://api.drush.org")
+ :safe 'string-or-null-p
:group 'drupal-drush)