From: Mark Wooding Date: Sat, 5 Sep 2020 13:02:47 +0000 (+0100) Subject: el/dot-emacs.el (mdw-set-frame-width): Add documentation. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/80d62d857cb02f7e5dc278b87142335685d4b425?ds=inline;hp=-c el/dot-emacs.el (mdw-set-frame-width): Add documentation. --- 80d62d857cb02f7e5dc278b87142335685d4b425 diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 9810267..ded4030 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -241,6 +241,10 @@ (defun mdw-divvy-window (&optional width) (select-window win))) (defun mdw-set-frame-width (columns &optional width) + "Set the current frame to be the correct width for COLUMNS columns. + +If WIDTH is non-nil, then it provides the width for the new columns. (This +can be set interactively with a prefix argument.)" (interactive "nColumns: P") (setq width (if width (prefix-numeric-value width)