Simplify Ruby configuration

This commit is contained in:
Maciej Szlosarczyk 2017-04-24 16:56:38 +03:00
parent f6541b764c
commit 3e9b0b12d4
No known key found for this signature in database
GPG key ID: 0D4EEACF63D4262E
3 changed files with 17 additions and 15 deletions

View file

@ -6,4 +6,9 @@
(interactive)
(mapc 'kill-buffer (delq (current-buffer) (buffer-list)))
)
(defun align-to-colon (begin end)
"Align region from BEGIN to END according to colon signs."
(align-regexp begin end
(rx ":" (group (zero-or-mode (syntax-white))))))
;;; functions.el ends here