From: Lars Ingebrigtsen <larsi@gnus.org>
To: jai-bholeki@gmx.com
Cc: 46193@debbugs.gnu.org, Philipp Stephani <p.stephani2@gmail.com>
Subject: bug#46193: Enabling Auto Fill mode
Date: Mon, 01 Feb 2021 10:20:15 +0100 [thread overview]
Message-ID: <87tuqwp2k0.fsf@gnus.org> (raw)
In-Reply-To: <trinity-b32e4d1f-8ac1-4570-a8a6-799a672d5f50-1612036520595@3c-app-mailcom-bs16> (jai-bholeki@gmx.com's message of "Sat, 30 Jan 2021 20:55:20 +0100")
jai-bholeki@gmx.com writes:
> I have noticed that enabling a minor-mode using texinfo-mode-hook fails after
> setting auto-fill comments using a hook.
>
> (add-hook 'texinfo-mode-hook
> (lambda () ((set (make-local-variable
> 'comment-auto-fill-only-comments) t)))
> (auto-fill-mode)
>
> ;; crucible-mode not enabled after setting comment-auto-fill-only-comments
> (add-hook 'texinfo-mode-hook 'crucible-mode)
(add-hook 'texinfo-mode-hook
(lambda () ((set (make-local-variable 'comment-auto-fill-only-comments) t)))
That's not valid syntax -- you have one extra pair of () around the
`set' function call.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-02-01 9:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-30 14:41 bug#46193: Enabling Auto Fill mode jai-bholeki
2021-01-30 18:31 ` Philipp Stephani
2021-01-30 19:55 ` jai-bholeki
2021-02-01 9:20 ` Lars Ingebrigtsen [this message]
2021-02-01 11:59 ` jai-bholeki
2021-02-01 9:19 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tuqwp2k0.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=46193@debbugs.gnu.org \
--cc=jai-bholeki@gmx.com \
--cc=p.stephani2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.