ahobson/ack-mode.el — comment on commit 846ed95e35ca5ced0406f6dbb2d41f6ebe6d1276
File:  line 0
By ahobson:

Hmm. That didn't work for me. I think it's because ack-arguments is
referenced inside the newly created ack-mode buffer so the dir local
variable doesn't apply. So for what I want, I think I still need to
reference ack-args outside of the newly created buffer.

But maybe I should do both?

--drew

On Tue, Feb 14, 2012 at 9:30 AM, Sudish Joseph <
reply@reply.github.com
> wrote:

> Yes, make-variable-buffer-local will use the initial defvar settings as
> the defaults, but treat any subsequent set as local to the current buffer.
> That's perfect for this scenario. Do you want to try it and push me the
> pull request?
>
> Nice use of dir-locals, btw. I haven't used the yet, but this seems like
> a great use for them.
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/ahobson/ack-mode.el/commit/846ed95e35ca5ced0406f6dbb2d41f6ebe6d1276#commitcomment-964735
>