emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/drupal-mode c81cdfd343 096/308: Made `drupal-search-url' e


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode c81cdfd343 096/308: Made `drupal-search-url' et el safe for `string-or-null-p'.
Date: Tue, 25 Jan 2022 10:59:33 -0500 (EST)

branch: elpa/drupal-mode
commit c81cdfd3434d47680ba6fa01bc46ae3e06cc5f3e
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>

    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)
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]