[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: thanks for eval-after-load but...
From: |
Glenn Morris |
Subject: |
Re: thanks for eval-after-load but... |
Date: |
Sun, 09 Nov 2003 14:38:54 +0000 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
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.