[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Interactive line spacing
From: |
mhuhtala |
Subject: |
Interactive line spacing |
Date: |
Mon, 12 Jul 2010 09:15:51 +0300 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.1.6) |
Does anyone else miss interactive setting of line spacing in Emacs? I
use 0 for code and certain types of data files with aligned columns,
and 5 or more for natural language text. I put this in my .emacs:
(defun spaceout (&optional spacing)
"Set line-spacing for the current buffer."
(interactive "p")
(setq line-spacing spacing)
(recenter)
)
(global-set-key [?\C-+] 'spaceout)
The C-+ key binding is similar to Firefox and such.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Interactive line spacing,
mhuhtala <=