Renamed align-to-equals helper function to align-region-to-equals

This commit is contained in:
2012-03-23 16:09:12 +00:00
parent 39a5e30394
commit 0410f24c3b
2 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ there's a region, all lines that region covers will be duplicated."
;; Align Equal Signs
;;
(defun align-to-equals (begin end)
(defun align-region-to-equals (begin end)
"Align region to equal signs"
(interactive "r")
(align-regexp begin end "\\(\\s-*\\)=" 1 1 ))

View File

@@ -27,8 +27,8 @@
(global-set-key (kbd "M-Y") 'yank-pop-forwards)
;; Align to equal signs (via helpers.el).
(global-set-key (kbd "C-x a =") 'align-to-equals)
(global-set-key (kbd "M-]") 'align-to-equals)
(global-set-key (kbd "C-x a =") 'align-region-to-equals)
(global-set-key (kbd "M-]") 'align-region-to-equals)
;; Toggle auto-fill-mode.
(global-set-key (kbd "C-c q") 'auto-fill-mode)