unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Enable guix-devel-mode only in guix source files
@ 2018-08-17 16:14 Arun Isaac
  2018-08-17 16:44 ` Pierre Neidhardt
  0 siblings, 1 reply; 11+ messages in thread
From: Arun Isaac @ 2018-08-17 16:14 UTC (permalink / raw)
  To: help-guix


How do I enable guix-devel-mode only in guix source files? The suggested
method in the manual (shown below) enables guix-devel-mode in all
scheme-mode buffers.

(add-hook 'scheme-mode-hook 'guix-devel-mode)

I know I can write some elisp to find the buffer-file-name, find if it
is in my guix source folder and enable or not enable guix-devel-mode
accordingly. But, I am wondering whether there is any easier way. What
do people here normally do?

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-08-24 22:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-17 16:14 Enable guix-devel-mode only in guix source files Arun Isaac
2018-08-17 16:44 ` Pierre Neidhardt
2018-08-17 19:46   ` Alex Kost
2018-08-19 18:08     ` Arun Isaac
2018-08-20 19:57       ` Alex Kost
2018-08-20 22:18         ` Pierre Neidhardt
2018-08-21 15:15           ` Alex Kost
2018-08-21 15:23             ` Pierre Neidhardt
2018-08-21 17:12               ` Oleg Pykhalov
2018-08-22  8:06               ` Alex Kost
2018-08-24 22:30                 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).