浏览代码

Fix name

master
10sr 6 年前
父节点
当前提交
8b3eade333
签署人:: 10sr GPG 密钥 ID: 7BEC428194130EB2
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      emacs.el

+ 4
- 4
emacs.el 查看文件

@@ -2194,12 +2194,12 @@ initializing."
(with-current-buffer (get-buffer-create bname)
(cd root)
(let* ((trees (git-worktree-get-current-trees))
(branch-max-length
(branch-max-size
(apply 'max
(cl-loop for e in trees
when (plist-get e :branch)
collect (length (plist-get e :branch)))))
(worktree-max-length
(worktree-max-size
(apply 'max
(cl-loop for e in trees
when (plist-get e :worktree)
@@ -2213,8 +2213,8 @@ initializing."
(plist-get f :head))))
trees))
(setq tabulated-list-format
`[("Branch" ,branch-max-length t)
("Worktree" ,worktree-max-length t)
`[("Branch" ,branch-max-size t)
("Worktree" ,worktree-max-size t)
("Head" -1 t)])
(git-worktree-mode)
(current-buffer)))))


正在加载...
取消
保存