Closed snowman closed 5 years ago
(button-lock-set-button
"DEV-[0-9]+"
(lambda ()
(interactive)
(browse-url (concat "http://jira/browse/"
(buffer-substring
(previous-single-property-change (point) 'mouse-face)
(next-single-property-change (point) 'mouse-face)))))
:face (list 'org-link))
Not work with
(global-button-lock-mode 1)
But work with(button-lock-mode 1)
in*scratch*
buffer