diff options
author | Yuchen Pei <id@ypei.org> | 2023-06-24 15:32:00 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-06-24 15:32:00 +1000 |
commit | 1753d0dfa0d6ddb413ac868dfa25011e5bfa8983 (patch) | |
tree | 9f53446676ef3e0d7278bc2c7c77b587464d60fc /emacs/.emacs.d/lisp/my | |
parent | e8267b4b165f6a6a086f4a9786e9df8ffe31d55c (diff) |
Fixing corfu map and rofi keybinding
Diffstat (limited to 'emacs/.emacs.d/lisp/my')
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-magit.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-magit.el b/emacs/.emacs.d/lisp/my/my-magit.el index cf6749b..c6fc0f6 100644 --- a/emacs/.emacs.d/lisp/my/my-magit.el +++ b/emacs/.emacs.d/lisp/my/my-magit.el @@ -32,9 +32,10 @@ (require 'my-project) (require 'org) -(defun magit-clone-org-source (arg) +(defun my-magit-clone-org-source (arg) (interactive "P") - (let* ((url (org-entry-get (point) "Source")) + (let* ((url (or (org-entry-get (point) "Source") + (org-entry-get (point) "Website"))) (default-base-dir (alist-get "3p" my-projects-root-dirs nil nil 'string=)) (default-name |