Skip to content
Browse files

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

  • Loading branch information...
1 parent 39a5e30 commit 0410f24c3b09543919dfe3abeae94073adc09152 @jimeh committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 helpers.el
  2. +2 −2 keybindings.el
View
2 helpers.el
@@ -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
4 keybindings.el
@@ -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)

0 comments on commit 0410f24

Please sign in to comment.
Something went wrong with that request. Please try again.