Skip to content

Commit cd07abb

Browse files
committed
Made it possible to refer to issue comments.
The convention to put issue numbers in brackets at patches and have the issue number be a clickable link, i.e: projects[ctools][patch][1277908] = http://drupal.org/files/ctools-uuids_for_exported_objects-1277908-118.patch is extended so we can have add i.e comment numbers and still have them clickable, i.e.: projects[services][patch]['1912842-9'] = http://drupal.org/files/services-rest_server_parse_xml_with_arrays-1912842-9.patch projects[services][patch]['1912842-13'] = http://drupal.org/files/issues/services-rest_server_parse_xml_with_arrays-1912842
1 parent 8d2c52c commit cd07abb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drush-make-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; drush-make-mode.el --- Major mode for drush make files
22

3-
;; Copyright (C) 2013 Arne Jørgensen
3+
;; Copyright (C) 2013, 2014 Arne Jørgensen
44

55
;; Author: Arne Jørgensen <[email protected]>
66
;; Keywords: languages, tools, extensions
@@ -35,7 +35,7 @@
3535

3636
;; Use `bug-reference-mode' for linking issues and patches.
3737
(set (make-local-variable 'bug-reference-url-format) "http://drupal.org/node/%s")
38-
(set (make-local-variable 'bug-reference-bug-regexp) "\\(?:\\#\\(?2:[0-9]+\\)\\|\\[['\"]?\\(?2:[0-9]+\\)\\(['\"]?\\]\\)\\)")
38+
(set (make-local-variable 'bug-reference-bug-regexp) "\\(?:\\#\\(?2:[0-9]+\\)\\|\\[['\"]?\\(?2:[0-9]+\\)\\([^0-9].*\\)?\\(['\"]?\\]\\)\\)")
3939
(bug-reference-mode)
4040

4141
;; Use `goto-address-mode' for link highlighting.

0 commit comments

Comments
 (0)