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

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

Re: key bindings


From: Barman Brakjoller
Subject: Re: key bindings
Date: 13 Jun 2003 01:57:39 -0700

> Still trying to get two spaces between periods and
> sentences; trying another approach now using key
> bindings. I've tried the following in my dotfile:
> 
> (global-set-key "." ".  ")
> 
> But, this does not work. I get the following error in
> the mode-line:

How about something like this? Too ugly:

(defun one-dot-and-two-spaces ()
  (interactive)
  (insert ".  "))

(local-set-key "." 'one-dot-and-two-spaces)

Works here.


reply via email to

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