From 008efd440b4403a1944c7193a0fa63efbce6902e Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sun, 28 Aug 2022 22:32:30 +0200 Subject: [PATCH] Emacs: Fix auto-save fix :^) --- .config/emacs/config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/emacs/config.org b/.config/emacs/config.org index db3a5e5..82704f1 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -195,7 +195,7 @@ Install and configure packages. ;; Fix for issues: super-save #38 and lsp-mode #1322 (defun dot/super-save-disable-advice (orig-fun &rest args) "Dont auto-save under these conditions." - (unless (string= (car args) " *LV*") + (unless (equal (car args) " *LV*") (apply orig-fun args))) (advice-add 'super-save-command-advice :around #'dot/super-save-disable-advice)