update of packages
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
;;; treemacs.el --- A tree style file viewer package -*- lexical-binding: t -*-
|
||||
|
||||
;; Copyright (C) 2022 Alexander Miller
|
||||
;; Copyright (C) 2023 Alexander Miller
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
@@ -105,6 +105,11 @@ DEFAULT: Face"
|
||||
"Saves the specific version of git-mode that is active.
|
||||
Values are either `simple', `extended', `deferred' or nil.")
|
||||
|
||||
(defun treemacs--non-simple-git-mode-enabled ()
|
||||
"Indicate whether a version of git-mode is enabled that affects directories."
|
||||
(declare (side-effect-free t))
|
||||
(memq treemacs--git-mode '(deferred extended)))
|
||||
|
||||
(defun treemacs--resize-git-cache ()
|
||||
"Cuts `treemacs--git-cache' back down to size.
|
||||
Specifically its size will be reduced to half of `treemacs--git-cache-max-size'."
|
||||
|
||||
Reference in New Issue
Block a user