unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Glenn Morris <gmorris+news@ast.cam.ac.uk>
Subject: Re: thanks for eval-after-load but...
Date: Sun, 09 Nov 2003 14:38:54 +0000	[thread overview]
Message-ID: <tuznf5mwsh.fsf@xpc14.ast.cam.ac.uk> (raw)
In-Reply-To: mailman.58.1068330839.2005.help-gnu-emacs@gnu.org

Joe Corneli wrote:

> After running this
>
> (eval-after-load "sh-script" 
> 		 '(put 'sh-maybe-here-document 'disabled t))
>
> and opening a bash script with this in it
>
> grep "<<$SF>>" $HOME/.todo/$TODOLIST > $HOME/p
> ade=$?
>
> `ade=$?' and following text is still in sh-heredoc-face
>
> So I guessed wrong, and disabling that command is not enough.

>From the section of the emacs manual "Disabling commands":

    Disabling a command has no effect on calling it as a function
    from Lisp programs.

That is, it only affects interative use via M-x.

The incorrect identification of the line you quote as a heredoc is
fixed in the CVS version of emacs.

       reply	other threads:[~2003-11-09 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.58.1068330839.2005.help-gnu-emacs@gnu.org>
2003-11-09 14:38 ` Glenn Morris [this message]
2003-11-10 16:40   ` thanks for eval-after-load but Kevin Rodgers
2003-11-08 21:31 Joe Corneli

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tuznf5mwsh.fsf@xpc14.ast.cam.ac.uk \
    --to=gmorris+news@ast.cam.ac.uk \
    /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.
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).