chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c0a4a95
)
el/dot-emacs.el (mdw-set-frame-width): Add documentation.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 5 Sep 2020 13:02:47 +0000
(14:02 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 5 Sep 2020 13:29:11 +0000
(14:29 +0100)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 981026729abd04a2f2ae2965e64af206d9af251d..ded403003f853226aaf47fbec01416c9c93e0e14 100644
(file)
--- 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)
(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)
(interactive "nColumns:
P")
(setq width (if width (prefix-numeric-value width)