diff options
author | Yuchen Pei <id@ypei.org> | 2025-01-30 08:50:39 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2025-01-30 08:50:39 +1100 |
commit | dbcd6d2015627485e4d79a04404d8615b58303a0 (patch) | |
tree | c4b44a148efe89a013157de085cde06511b37526 /emacs/.emacs.d/lisp/my/my-gitlab.el | |
parent | 80fbb1ee3f4951308fdbe49045abc1539927f5f3 (diff) |
Diffstat (limited to 'emacs/.emacs.d/lisp/my/my-gitlab.el')
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-gitlab.el | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-gitlab.el b/emacs/.emacs.d/lisp/my/my-gitlab.el index 27f3344..56542c0 100644 --- a/emacs/.emacs.d/lisp/my/my-gitlab.el +++ b/emacs/.emacs.d/lisp/my/my-gitlab.el @@ -75,17 +75,9 @@ (require 'my-buffer) (require 'my-web) (require 'my-magit) -(defun my-gitlab-format-url (url) - (concat url - " -- " (buttonize "clone" - (lambda (_) - (my-magit-clone url current-prefix-arg))) - " " (buttonize "context" - (lambda (_) - (funcall my-url-context-function url))))) (defvar my-gitlab-project-info-specs - `((http_url_to_repo . ("URL" . my-gitlab-format-url)) + `((http_url_to_repo . ("URL" . my-forge-infobox-format-url)) (name_with_namespace . "Name") (description . "Description") (created_at . ("Created at" . my-gitlab-format-time-string)) |