Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions workgroups.el
Original file line number Diff line number Diff line change
Expand Up @@ -2048,13 +2048,15 @@ The string is passed through a format arg to escape %'s."
(defun wg-help ()
"Display Workgroups' help buffer."
(interactive)
(with-output-to-temp-buffer "*workroups help*"
(let ((wg-help-buffer-name "*workgroups help*"))
(with-output-to-temp-buffer wg-help-buffer-name
(princ "Workgroups' keybindings:\n\n")
(dolist (elt (wg-partition wg-help 2))
(wg-dbind (cmd help-string) elt
(princ (format "%15s %s\n"
(substitute-command-keys cmd)
help-string))))))
help-string)))))
(pop-to-buffer (get-buffer wg-help-buffer-name))))


;;; keymap
Expand Down