On 25 Mar 2005 07:37:20 -0800 Shug Boabby wrote:

> when the start of a brace pair was typed, one of [<[{(], the editor
> would insert the corresponding closing brace and place the cursor
> in-between. this worked for all text editing modes, but could be turned
> off when needed.

;;;; skeleton mode
(global-set-key "\"" 'skeleton-pair-insert-maybe)
;;(global-set-key "'" 'skeleton-pair-insert-maybe)
(global-set-key "`" 'skeleton-pair-insert-maybe)
(global-set-key "[" 'skeleton-pair-insert-maybe)
(global-set-key "(" 'skeleton-pair-insert-maybe)
(global-set-key "{" 'skeleton-pair-insert-maybe)
(setq skeleton-pair t)

See (info "(autotype)Top")

David
_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to