[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit c316ca034e 4/4: Use setq-local instead of set a
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit c316ca034e 4/4: Use setq-local instead of set and make-local-variable |
Date: |
Thu, 7 Sep 2023 18:59:29 -0400 (EDT) |
branch: elpa/git-commit
commit c316ca034ed3a8266f36c6f5f92563ba2df09d60
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Use setq-local instead of set and make-local-variable
---
lisp/git-rebase.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/git-rebase.el b/lisp/git-rebase.el
index 66f11195c5..2a0fbb3d6d 100644
--- a/lisp/git-rebase.el
+++ b/lisp/git-rebase.el
@@ -830,7 +830,7 @@ By default, this is the same except for the \"pick\"
command."
(add-hook 'git-rebase-mode-hook #'git-rebase-mode-show-keybindings t)
(defun git-rebase-mode-disable-before-save-hook ()
- (set (make-local-variable 'before-save-hook) nil))
+ (setq-local before-save-hook nil))
(add-hook 'git-rebase-mode-hook #'git-rebase-mode-disable-before-save-hook)