chiark / gitweb /
el/dot-emacs.el (mdw-set-frame-width): Add documentation.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 5 Sep 2020 13:02:47 +0000 (14:02 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 5 Sep 2020 13:29:11 +0000 (14:29 +0100)
el/dot-emacs.el

index 981026729abd04a2f2ae2965e64af206d9af251d..ded403003f853226aaf47fbec01416c9c93e0e14 100644 (file)
@@ -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)