Skip to content

Commit 6fbdb4e

Browse files
committed
Made customization of search URLs more intuitive.
1 parent 56a55ff commit 6fbdb4e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drupal-mode.el

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,17 @@ According to http://drupal.org/coding-standards#indenting."
7878
"The URL to search the Drupal API.
7979
%v is the Drupal major version.
8080
%s is the search term."
81-
:type '(choice (const :tag "Drupal.org" "http://api.drupal.org/api/search/%v/%s")
82-
(const :tag "DrupalContrib.org" "http://api.drupalcontrib.org/api/search/%v/%s")
83-
(string :tag "Other" "http://example.com/search?q=%s&version=%v"))
81+
:type '(choice (const :tag "Api.drupal.org" "http://api.drupal.org/api/search/%v/%s")
82+
(const :tag "Api.drupalcontrib.org" "http://api.drupalcontrib.org/api/search/%v/%s")
83+
(string :tag "Other" "http://example.com/api/search/%v/%s"))
8484
:group 'drupal)
8585

8686
(defcustom drupal-drush-search-url "http://api.drush.org/api/search/%v/%s"
8787
"The URL to search the Drush API.
88-
%v is the Drush major version.
88+
%v is the Drush version.
8989
%s is the search term."
90-
:type '(choice (const :tag "Drush.org" "http://api.drush.org/api/search/%v/%s")
91-
(string :tag "Other" "http://example.com/search?q=%s&version=%v"))
90+
:type '(choice (const :tag "Api.drush.org" "http://api.drush.org/api/search/%v/%s")
91+
(string :tag "Other" "http://example.com/api/search/%v/%s"))
9292
:group 'drupal-drush)
9393

9494
(defcustom drupal-drush-program (executable-find "drush")

0 commit comments

Comments
 (0)