Wednesday, April 05, 2006

Change .emacs without restart and "goto"

Define M-g to goto line:

(global-set-key "\M-g" 'goto-line )

Make .emacs effective without restart:

M-x eval-last-sexp(or C-x C-e)
M-x eval-region
M-x eval-buffer

The first one make the line effective immediately before the cursor.

No comments:

Post a Comment