branch: elpa/drupal-mode
commit 56a55ff9c83df4fe803aeebc4b6c946810618449
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Drush API search on master if version is y.x-dev.
---
drupal-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drupal-mode.el b/drupal-mode.el
index a9cfa22c27..36702062b5 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -239,7 +239,7 @@ should save your files with unix style end of line."
(if (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]+\\'" ".x" drupal-drush-version))
+ (format-spec drupal-drush-search-url `((?v .
,(replace-regexp-in-string ".*-dev" "master" (replace-regexp-in-string
"\.[0-9]+\\'" ".x" drupal-drush-version)))
(?s . ,symbol))))
(browse-url
(format-spec drupal-search-url `((?v . ,(drupal-major-version
drupal-version))