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
|
||||
@@ -147,6 +147,13 @@ width of the new window when the treemacs window is visible."
|
||||
(when (and (boundp 'evil-escape-excluded-major-modes) (not (boundp 'evil-escape-version)))
|
||||
(add-to-list 'evil-escape-excluded-major-modes 'treemacs-mode)))
|
||||
|
||||
(when (fboundp 'context-menu-mode)
|
||||
(defun treemacs--disable-context-menu-mode ()
|
||||
(treemacs-run-in-all-derived-buffers
|
||||
(with-no-warnings
|
||||
(setq-local context-menu-functions nil))))
|
||||
(add-hook 'context-menu-mode-hook 'treemacs--disable-context-menu-mode))
|
||||
|
||||
(defun treemacs-load-all-the-icons-with-workaround-font (font)
|
||||
"Load the `treemacs-all-the-icons' package using a workaround FONT for tabs.
|
||||
Use this if you experience the issue of icons jumping around when they are
|
||||
|
||||
Reference in New Issue
Block a user