Просмотр исходного кода

Fix buffer and mode name

master
10sr 5 лет назад
Родитель
Сommit
aa94067b1e
Подписано: 10sr Идентификатор GPG ключа: 7BEC428194130EB2
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      emacs.el

+ 2
- 2
emacs.el Просмотреть файл

@@ -2129,7 +2129,7 @@ initializing."
(cl-assert (file-directory-p directory))
(let* ((root (git-worktree--get-repository-root directory))
(name (file-name-nondirectory root))
(bname (format "Git Worktree<%s>" name)))
(bname (format "*GitWorktree<%s>*" name)))
(with-current-buffer (get-buffer-create bname)
(cd root)
(let ((trees (git-worktree-get-current-trees)))
@@ -2193,7 +2193,7 @@ initializing."
(define-key map "/" 'isearch-forward)
map))

(define-derived-mode git-worktree-mode tabulated-list-mode "Git Worktrees"
(define-derived-mode git-worktree-mode tabulated-list-mode "Git-Worktrees"
"Major mode for browsing recently opened files and directories."
(setq tabulated-list-padding 2)
;; TODO: Implement revert


Загрузка…
Отмена
Сохранить