From 5ffc7a01588fddbc3375a2cc341bd223ac9fbad6 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 11 Dec 2018 19:34:33 +0900 Subject: [PATCH] Fix function name --- emacs.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs.el b/emacs.el index c548da2..1aaac80 100644 --- a/emacs.el +++ b/emacs.el @@ -2120,12 +2120,12 @@ initializing." (bname (format "*GitWorktree<%s>*" name))) (with-current-buffer (get-buffer-create bname) (cd root) - (git-worktree--set-tabulated-list-mmode-variables) + (git-worktree--set-tabulated-list-mode-variables) (git-worktree-mode) (current-buffer)))) ;; ((:worktree "/Users/10sr/.dotfiles" :head "5e7457a8d49ef6a517cdf39d038ba5fdf98dc68e" :branch "refs/heads/master") (:worktree "/Users/10sr/.dotfiles/b1" :head "fa7d868076d807692e35f82ae23596c903fd1117" :branch "refs/heads/b1")) -(defun git-worktree--set-tabulated-list-mmode-variables () +(defun git-worktree--set-tabulated-list-mode-variables () "Set variables for `tabulated-list-mode'." (let ((trees (git-worktree-get-current-trees))) (setq tabulated-list-entries @@ -2233,7 +2233,7 @@ initializing." "Major mode for browsing recently opened files and directories." (setq tabulated-list-padding 2) (add-hook 'tabulated-list-revert-hook - 'git-worktree--set-tabulated-list-mmode-variables + 'git-worktree--set-tabulated-list-mode-variables nil t) (tabulated-list-init-header)