------------------------------------------------------------ revno: 321 committer: Stefan Monnier <monn...@iro.umontreal.ca> branch nick: elpa timestamp: Wed 2012-12-05 20:21:13 -0500 message: * adaptive-wrap.el (adaptive-wrap-extra-indent): Fix buffer-localness. Reported by Jonathan Kotta <jpko...@gmail.com>. modified: packages/adaptive-wrap/adaptive-wrap.el
=== modified file 'packages/adaptive-wrap/adaptive-wrap.el' --- a/packages/adaptive-wrap/adaptive-wrap.el 2012-10-30 15:41:39 +0000 +++ b/packages/adaptive-wrap/adaptive-wrap.el 2012-12-06 01:21:13 +0000 @@ -4,7 +4,7 @@ ;; Author: Stephen Berman <stephen.ber...@gmx.net> ;; Stefan Monnier <monn...@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 @@ 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'."