diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-10-01 11:28:17 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-10-01 12:04:21 +0200 |
| commit | 86c0a058e54df4673a6dc6d0ac733076537d8c99 (patch) | |
| tree | 5fd053da4e2e709479db961979ebbf3c4648bd56 /.local | |
| parent | 42c21026e4de5b3673626fec28572117eac5da5c (diff) | |
| download | dotfiles-86c0a058e54df4673a6dc6d0ac733076537d8c99.tar.xz | |
Fix buffer-local value lookup
Couple of mistakes there:
* buffer-local-value was called too late,
* the symbol wasn't quoted, so buffer-local-value ended up taking a
peek at fill-column directly, because that's what my/centered-width
defaults to.
Just wrap the whole thing in with-current-buffer. That'll make it
easier to introduce new buffer-local variables set via mode hooks.
Diffstat (limited to '.local')
0 files changed, 0 insertions, 0 deletions
