From 529445c0b9c85e588e694f71f7332b8a9c5b0f25 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 16 Jan 2018 00:57:34 +0000 Subject: [PATCH] Don't try to disable tool-bar mode when it wouldn't exist --- .emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 831d5c7..2ecdb98 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -18,7 +18,8 @@ (savehist-mode 1) (show-paren-mode 1) (column-number-mode 1) -(tool-bar-mode -1) +(when (fboundp 'tool-bar-mode) + (tool-bar-mode -1)) ;;;; not sure where to put this (defun open-thunar-in-current-directory ()