From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: thanks for eval-after-load but...
Date: Mon, 10 Nov 2003 09:40:32 -0700 [thread overview]
Message-ID: <3FAFBF80.3030909@yahoo.com> (raw)
In-Reply-To: tuznf5mwsh.fsf@xpc14.ast.cam.ac.uk
Glenn Morris wrote:
> 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.
So does this work in the meantime?
(eval-after-load "sh-script"
'(defalias (quote sh-maybe-here-document) (quote ignore)))
--
Kevin Rodgers
next prev parent reply other threads:[~2003-11-10 16:40 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 ` thanks for eval-after-load but Glenn Morris
2003-11-10 16:40 ` Kevin Rodgers [this message]
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=3FAFBF80.3030909@yahoo.com \
--to=ihs_4664@yahoo.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.
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).