From 5176a7fe469bac9675b393af6f1338101f3f53f8 Mon Sep 17 00:00:00 2001 From: "Matthew L. Fidler" Date: Fri, 5 Aug 2016 09:20:40 -0500 Subject: [PATCH] Allow gimp process to be killed without user intevention --- mode-icons.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mode-icons.el b/mode-icons.el index 5d98d7a..8e315b2 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -206,7 +206,8 @@ This was stole/modified from `c-save-buffer-state'" ("\\`Dockerfile\\'" "docker" xpm) ("\\`Spacemacs buffer\\'" "spacemacs" png) ("\\` ?emoji\\'" "emoji" png) - (read-only #xf023 FontAwesome) + ("\\`Org-Agenda" #xf046 FontAwesome) + (read-only #xf0n23 FontAwesome) (writable #xf09c FontAwesome) (save #xf0c7 FontAwesome) (saved "" nil) @@ -727,7 +728,8 @@ When nil, don't stop the gimp inferior mode.") (save-excursion (run-scheme (format "\"%s\" %s" mode-icons--gimp mode-icons--gimp-inferior-args)))) (with-current-buffer (get-buffer "*scheme*") - (rename-buffer "*mode-icons-gimp*"))))) + (rename-buffer "*mode-icons-gimp*") + (set-process-query-on-exit-flag (get-buffer-process (get-buffer "*mode-icons-gimp*")) nil))))) (defvar mode-icons--gimp-ready-p nil)