Small Emacs win
14 Mar 2012Part of how I'm beginning to work with Org and RT:
(defun x-hugh-boxquote-yank-and-indent ()
"My attempt to combine boxquote-yank and indent.
The car/cdr bits are from the docstring for boxquote-points. It's a bit silly to run it twice, but it was simple."
(interactive)
(save-excursion
(boxquote-yank)
(next-line)
(indent-region (car (boxquote-points)) (cdr (boxquote-points)))))
(global-set-key (kbd "<f9> y") 'x-hugh-boxquote-yank-and-indent)
Add a comment:
Name and email required; email is not displayed.
Related Posts
QRP weekend 08 Oct 2018
Open Source Cubesat Workshop 2018 03 Oct 2018
mpd crash? try removing files in /var/lib/mpd/ 11 Aug 2018