From 8029fda47ca4115832ca6aadf1f5671236e03ff5 Mon Sep 17 00:00:00 2001 From: Jared Finder Date: Mon, 10 Jun 2024 21:48:20 -0700 Subject: [PATCH] Making global-window-tool-bar-mode call look just like any other mode. --- emacs.el | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/emacs.el b/emacs.el index cd7443d..9fb4ac4 100644 --- a/emacs.el +++ b/emacs.el @@ -71,6 +71,11 @@ (tooltip-mode -1) (url-handler-mode 1) +;; Toolbar display +(global-window-tool-bar-mode 1) +(tool-bar-mode -1) +(setf tool-bar-map nil) + (if window-system (progn (pixel-scroll-precision-mode 1) (setf pixel-scroll-precision-interpolate-page t)) @@ -116,10 +121,6 @@ ;; When deugging xterm-mouse issues, having a large buffer is quite ;; helpful. (lossage-size 10000) - -;; My experimental package, -(global-window-tool-bar-mode 1) -(keymap-global-set "C-x C-m" #'window-tool-bar-show-memory-use) ;;; Faces: @@ -175,6 +176,9 @@ "C-x " "M-" "M-" "M-" "C-M-v" "C-M-S-v" "ESC " "ESC " "ESC " "ESC " "ESC ")) (keymap-global-unset key)) + +;; My experimental package, +(keymap-global-set "C-x C-m" #'window-tool-bar-debug-show-memory-use) ;;; Custom commands: