Fix checkdoc warnings

This commit is contained in:
Chris Feng 2017-02-05 17:50:52 +08:00
parent 9926d87b65
commit f221f837cb
7 changed files with 13 additions and 12 deletions

View file

@ -115,7 +115,7 @@
"The default value of opacity when it's not explicitly specified.
The value should be a floating number between 0 (transparent) and 100
(opaque). A value of nil also means opaque.")
\(opaque). A value of nil also means opaque.")
(defvar exwm-cm--hash nil
"The hash table associating X window IDs to their attributes.")
@ -226,7 +226,7 @@ If called interactively, XWIN would be the selected X window."
(car (exwm-cm--get-tree xwin)))
(defsubst exwm-cm--get-siblings (xwin)
"Get a list of subtrees of the siblings of X window XWIN"
"Get a list of subtrees of the siblings of X window XWIN."
(cdr (exwm-cm--get-tree xwin)))
(defsubst exwm-cm--get-subtree (xwin)

View file

@ -119,4 +119,4 @@ You can find the original one at `exwm-config-ido-buffer-window-other-frame'."
(provide 'exwm-config)
;; exwm-config.el ends here
;;; exwm-config.el ends here

View file

@ -178,7 +178,7 @@
(interactive)
(with-current-buffer (if id (exwm--id->buffer id) (window-buffer))
(when (memq xcb:Atom:_NET_WM_STATE_FULLSCREEN exwm--ewmh-state)
(user-error "Already in full-screen mode."))
(user-error "Already in full-screen mode"))
;; Save the position of floating frame.
(when exwm--floating-frame
(let* ((geometry (xcb:+request-unchecked+reply exwm--connection
@ -232,7 +232,7 @@
(interactive)
(with-current-buffer (if id (exwm--id->buffer id) (window-buffer))
(unless (memq xcb:Atom:_NET_WM_STATE_FULLSCREEN exwm--ewmh-state)
(user-error "Not in full-screen mode."))
(user-error "Not in full-screen mode"))
;; Restore the size of this workspace.
(exwm-workspace--set-fullscreen exwm--frame)
(if exwm--floating-frame

View file

@ -22,8 +22,9 @@
;;; Commentary:
;; This module adds RandR support for EXWM. Currently it requires external
;; tools such as xrandr(1) to properly configure RandR first. This dependency
;; may be removed in the future, but more work is needed before that.
;; tools such as xrandr(1) to properly configure RandR first. This
;; dependency may be removed in the future, but more work is needed before
;; that.
;; To use this module, load, enable it and configure
;; `exwm-randr-workspace-output-plist' and `exwm-randr-screen-change-hook'

View file

@ -485,4 +485,4 @@ You shall use the default value if using auto-hide minibuffer.")
(provide 'exwm-systemtray)
;; exwm-systemtray.el ends here
;;; exwm-systemtray.el ends here

View file

@ -116,7 +116,7 @@ NIL if FRAME is not a workspace"
(defvar exwm-workspace--prompt-add-allowed nil
"Non-nil to allow adding workspace from the prompt.")
(defvar exwm-workspace--prompt-delete-allowed nil
"Non-nil to allow deleting workspace from the prompt")
"Non-nil to allow deleting workspace from the prompt.")
(defvar exwm-workspace--create-silently nil
"When non-nil workspaces are created in the background (not switched to).