mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Renamed align-to-equals helper function to align-region-to-equals
This commit is contained in:
@@ -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 ))
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user