geiser-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Geiser-users] Disabling autodoc for single module


From: Mark Skilbeck
Subject: Re: [Geiser-users] Disabling autodoc for single module
Date: Sat, 26 May 2012 03:49:21 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

This would disable autodoc for mailutils, but also for the other
modules I am using (and want documentation for).

On Sat, May 26, 2012 at 04:08:40AM +0200, Jose A. Ortega Ruiz wrote:
> On Sat, May 26 2012, Mark Skilbeck wrote:
> 
> > So, with the recent trouble with Mailutils, Guile and Geiser, and my
> > inability to successfully debug the problem, I now ask: is it possible
> > to disable autodoc for just a single module. Say, if I have
> >
> >   (use-modules (mailutils mailutils)
> >                (ncurses curses)),
> >
> > can I disable autodoc for mailutils but keep it for ncurses?
> 
> As i think i mentioned in another email, you can disable autodoc in any
> buffer by hand with C-c C-d C-a.
> 
> If what you want is to tell emacs to automatically disable it, something
> along the lines of:
> 
>     ;; -*- emacs-lisp -*-
>     (defun mark-disable-autodoc ()
>       (when (save-excursion
>               (goto-char (point-min))
>               (re-search-forward "(mailutils mailutils)" nil t))
>         (geiser-autodoc-mode -1)))
> 
>     (eval-after-load "geiser" 
>       '(add-hook 'scheme-mode-hook 'mark-disable-autodoc t))
> 
> would do, i think.
> 
> Cheers,
> jao

-- 
- mgsk.

if all you young men / were fish in the water 
how many young girls / would undress and dive after



reply via email to

[Prev in Thread] Current Thread [Next in Thread]