From 80d62d857cb02f7e5dc278b87142335685d4b425 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 5 Sep 2020 14:02:47 +0100 Subject: [PATCH] el/dot-emacs.el (mdw-set-frame-width): Add documentation. --- el/dot-emacs.el | 4 ++++ 1 file changed, 4 insertions(+) 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 @@ fringes is not taken out of the allowance for WIDTH, unlike (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) -- 2.11.0