branch: externals/olivetti
commit 26e9da66d829af9810ee0840b95917a7d1fabd1a
Author: Paul Rankin <he...@paulwrankin.com>
Commit: Paul Rankin <he...@paulwrankin.com>

    Use defvar-local, it's cleaner
---
 olivetti.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/olivetti.el b/olivetti.el
index f0493bf..c39e6c9 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -119,10 +119,9 @@ Can cause display issues in console mode."
 
 ;;; Variables 
==================================================================
 
-(defvar olivetti--visual-line-mode
+(defvar-local olivetti--visual-line-mode
   nil
   "Non-nil if `visual-line-mode' is active when `olivetti-mode' is turned on.")
-(make-variable-buffer-local 'olivetti--visual-line-mode)
 
 ;;; Functions 
==================================================================
 

Reply via email to