help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: What's a better regexp for 'sentence-end' variable??


From: Kevin Rodgers
Subject: Re: What's a better regexp for 'sentence-end' variable??
Date: Tue, 18 Feb 2003 15:54:43 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

[Please don't top-post: http://www.aglami.com/tpfaq.html]

gebser@ameritech.net wrote:

Oliver Scholz at 15:06 (UTC+0100) on Tue, 18 Feb 2003 said:
= (define-key sgml-mode-map (kbd "M-e") 'my-html-forward-sentence)

The question now is how to have this load when emacs loads. I put it in .emacs, reloaded, and got an error:

Error in init file: Symbol's value as variable is void: sgml-mode-map

This is because it's not in the path.

No it's not.

So how do I get it in the path?

(eval-after-load "sgml-mode" '(progn ...))

or

(add-hook 'sgml-mode-hook
          (lambda () (local-set-key (kbd "M-e") 'my-html-forward-sentence)))

--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

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