Function: robot-mode-align
robot-mode-align is an interactive and natively compiled function
defined in robot-mode.el.
Signature
(robot-mode-align BEG END)
Documentation
Align the contents of the region between BEG and END.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/2wci9ylra7w4lc4cczbdr19c98f107vr-emacs-packages-deps/share/emacs/site-lisp/elpa/robot-mode-20240721.1023/robot-mode.el
(defun robot-mode-align (beg end)
"Align the contents of the region between BEG and END."
(interactive
(list (region-beginning) (region-end)))
;; Align only with spaces
(let ((align-to-tab-stop nil)
(indent-tabs-mode nil))
(align-regexp beg end "\\(\\s-\\s-+\\)" 1 robot-mode-argument-separator t))
(let ((robot-mode-indent-toggle nil))
(indent-region beg end)))