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

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

[elpa] externals/adaptive-wrap 77979be 04/15: * adaptive-wrap.el (adapti


From: Stefan Monnier
Subject: [elpa] externals/adaptive-wrap 77979be 04/15: * adaptive-wrap.el (adaptive-wrap-extra-indent): Fix buffer-localness.
Date: Sun, 29 Nov 2020 19:09:08 -0500 (EST)

branch: externals/adaptive-wrap
commit 77979bef8c70c9fa7404522a4a79d4456bcc0850
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * adaptive-wrap.el (adaptive-wrap-extra-indent): Fix buffer-localness.
    Reported by Jonathan Kotta <jpkotta@gmail.com>.
---
 adaptive-wrap.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/adaptive-wrap.el b/adaptive-wrap.el
index 02e4fc9..a896447 100644
--- a/adaptive-wrap.el
+++ b/adaptive-wrap.el
@@ -4,7 +4,7 @@
 
 ;; Author: Stephen Berman <stephen.berman@gmx.net>
 ;;         Stefan Monnier <monnier@iro.umontreal.ca>
-;; Version: 0.1
+;; Version: 0.2
 
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -54,7 +54,7 @@ extra indent = 2
     nisi ut aliquip ex ea commodo consequat."
   :type 'integer
   :group 'visual-line)
-(make-local-variable 'adaptive-wrap-extra-indent)
+(make-variable-buffer-local 'adaptive-wrap-extra-indent)
 
 (defun adaptive-wrap-fill-context-prefix (beg en)
   "Like `fill-context-prefix', but with length adjusted by 
`adaptive-wrap-extra-indent'."



reply via email to

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