From 54c487c6298a9edcb098ae6b5f628e667e78d5b8 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Thu, 9 Nov 2023 07:48:42 +0100 Subject: [PATCH] Comment out unused code --- bundle/bundle--gui.el | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/bundle/bundle--gui.el b/bundle/bundle--gui.el index 742444fa..9132b7bd 100644 --- a/bundle/bundle--gui.el +++ b/bundle/bundle--gui.el @@ -29,17 +29,17 @@ (add-hook 'after-make-frame-functions 'center-frame) -(defun my-vc-info () - (when vc-mode - (concat (substring vc-mode 5) - " [" - (substring (vc-working-revision (buffer-file-name)) 0 8) - "] "))) +;; (defun my-vc-info () +;; (when vc-mode +;; (concat (substring vc-mode 5) +;; " [" +;; (substring (vc-working-revision (buffer-file-name)) 0 8) +;; "] "))) -(defun my-project-name () - (let ((proj (project-current))) - (if proj (file-name-base (directory-file-name (project-root proj))) - "NoProject"))) +;; (defun my-project-name () +;; (let ((proj (project-current))) +;; (if proj (file-name-base (directory-file-name (project-root proj))) +;; "NoProject"))) ;; (setq-default header-line-format ;; (list "-%M" @@ -55,8 +55,8 @@ ;; 'default-directory ;; "-%-")) -(set-face-attribute 'mode-line nil :weight 'bold) -(set-face-attribute 'header-line nil :weight 'bold) +;; (set-face-attribute 'mode-line nil :weight 'bold) +;; (set-face-attribute 'header-line nil :weight 'bold) (use-package all-the-icons :if (display-graphic-p) @@ -123,12 +123,11 @@ :custom (tab-bar-format '(tab-bar-format-history - tab-bar-format-tabs-groups))) - -(setq tab-line-close-button-show nil) -(setq tab-line-new-button-show nil) -(setq tab-line-tabs-function 'tab-line-tabs-mode-buffers) -;(global-tab-line-mode 1) + tab-bar-format-tabs-groups)) + :config + (setq tab-line-close-button-show nil) + (setq tab-line-new-button-show nil) + (setq tab-line-tabs-function 'tab-line-tabs-mode-buffers)) (use-package doc-view :ensure nil