]> git.eshelyaron.com Git - emacs.git/commit
Hook 'bug-reference-mode' up to 'thing-at-point'
authorJim Porter <jporterbugs@gmail.com>
Wed, 25 Oct 2023 22:24:28 +0000 (15:24 -0700)
committerJim Porter <jporterbugs@gmail.com>
Sun, 12 Nov 2023 05:40:12 +0000 (21:40 -0800)
commite5ba52ad72d0e44b905d6dc321f1e6234491df53
tree2e8941200b05939fce5b7f123d502ffde8693000
parente56e9c19545f43c35dec85fa650f3799c6e9c308
Hook 'bug-reference-mode' up to 'thing-at-point'

* lisp/progmodes/bug-reference.el (bug-reference--url-at-point): New
function.
(bug-reference-mode, bug-reference-prog-mode): Factor initialization
code out to...
(bug-reference--init): ... here.

* test/lisp/progmodes/bug-reference-tests.el (test-thing-at-point):
New test.

* etc/NEWS: Announce this change (bug#66752).
etc/NEWS
lisp/progmodes/bug-reference.el
test/lisp/progmodes/bug-reference-tests.el