]> git.eshelyaron.com Git - emacs.git/commit
Allow URL-FORMAT as string and function in bug-reference-setup-from-vc-alist
authorTassilo Horn <tsdh@gnu.org>
Wed, 12 Feb 2025 09:33:08 +0000 (10:33 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Feb 2025 10:53:07 +0000 (11:53 +0100)
commit6648305fcefff43864335b526c2f7f288e6f6198
tree4d8aad435fe346b4b80ce9d77aa5b0a1740603c0
parenta9301868db13a355cefe87a165d34d0c77cfe0e9
Allow URL-FORMAT as string and function in bug-reference-setup-from-vc-alist

That's a slight simplification resulting from bug#72735.

* lisp/progmodes/bug-reference.el (bug-reference-setup-from-vc-alist):
Rename URL-FORMAT-FN to URL-FORMAT and mention it may be string or
function.
* (bug-reference-maybe-setup-from-vc): Handle the new case where
bug-url-fmt is just a string rather than a function.

(cherry picked from commit b5404a205c1a1aa858dc430ffaa32a35c744e244)
lisp/progmodes/bug-reference.el