Skip to content

Commit 56a55ff

Browse files
committed
Drush API search on master if version is y.x-dev.
1 parent c138521 commit 56a55ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drupal-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ should save your files with unix style end of line."
239239
(if (and drupal-drush-program
240240
(string-match "drush" (symbol-name symbol)))
241241
(browse-url
242-
(format-spec drupal-drush-search-url `((?v . ,(replace-regexp-in-string "\.[0-9]+\\'" ".x" drupal-drush-version))
242+
(format-spec drupal-drush-search-url `((?v . ,(replace-regexp-in-string ".*-dev" "master" (replace-regexp-in-string "\.[0-9]+\\'" ".x" drupal-drush-version)))
243243
(?s . ,symbol))))
244244
(browse-url
245245
(format-spec drupal-search-url `((?v . ,(drupal-major-version drupal-version))

0 commit comments

Comments
 (0)