emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/logos dc52fc3f04 25/25: Merge redundant make-variable-b


From: ELPA Syncer
Subject: [elpa] externals/logos dc52fc3f04 25/25: Merge redundant make-variable-buffer-local calls into defcustom
Date: Fri, 11 Mar 2022 08:58:02 -0500 (EST)

branch: externals/logos
commit dc52fc3f043c8a900d9c9bce2e7b11a39bbe1672
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Merge redundant make-variable-buffer-local calls into defcustom
---
 logos.el | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/logos.el b/logos.el
index bac4593590..84bbdec04a 100644
--- a/logos.el
+++ b/logos.el
@@ -97,17 +97,15 @@ the latter."
   "When non-nil hide the modeline.
 This is only relevant when `logos-focus-mode' is enabled."
   :type 'boolean
-  :group 'logos)
-
-(make-variable-buffer-local 'logos-hide-mode-line)
+  :group 'logos
+  :local t)
 
 (defcustom logos-scroll-lock nil
   "When non-nil, use `scroll-lock-mode'.
 This is only relevant when `logos-focus-mode' is enabled."
   :type 'boolean
-  :group 'logos)
-
-(make-variable-buffer-local 'logos-scroll-lock)
+  :group 'logos
+  :local t)
 
 (defcustom logos-variable-pitch nil
   "When non-nil, `text-mode' buffers use `variable-pitch-mode'.
@@ -116,9 +114,8 @@ assumed to be a monospaced typeface.
 
 This is only relevant when `logos-focus-mode' is enabled."
   :type 'boolean
-  :group 'logos)
-
-(make-variable-buffer-local 'logos-variable-pitch)
+  :group 'logos
+  :local t)
 
 ;;;; General utilities
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]