branch: elpa/crux commit 8666ae8835e1f661d61bba8dc398f7bed468ed02 Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
Fix a docstring --- crux.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crux.el b/crux.el index 95b299a..54e88b2 100644 --- a/crux.el +++ b/crux.el @@ -151,8 +151,7 @@ point reaches the beginning or end of the buffer, stop there." (indent-region (region-beginning) (region-end)))) (defun crux-get-positions-of-line-or-region () - "Return positions (beg . end) of the current line -or region." + "Return positions (beg . end) of the current line or region." (let (beg end) (if (and mark-active (> (point) (mark))) (exchange-point-and-mark)) @@ -232,7 +231,7 @@ See `file-attributes' for more info." (user-uid))) (defun crux-find-alternate-file-as-root (filename) - "Wraps `find-alternate-file' with opening a file as root." + "Wraps `find-alternate-file' with opening FILENAME as root." (find-alternate-file (concat "/sudo:root@localhost:" filename))) (require 'ido)