From f221f837cb1e38e00fdbe54d25301c09d77c7ae9 Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Sun, 5 Feb 2017 17:50:52 +0800 Subject: [PATCH] Fix checkdoc warnings --- exwm-cm.el | 4 ++-- exwm-config.el | 2 +- exwm-input.el | 4 ++-- exwm-layout.el | 4 ++-- exwm-randr.el | 7 ++++--- exwm-systemtray.el | 2 +- exwm-workspace.el | 2 +- 7 files changed, 13 insertions(+), 12 deletions(-) diff --git a/exwm-cm.el b/exwm-cm.el index 532a8b5..233d5e0 100644 --- a/exwm-cm.el +++ b/exwm-cm.el @@ -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) diff --git a/exwm-config.el b/exwm-config.el index 2f1fa79..73004f6 100644 --- a/exwm-config.el +++ b/exwm-config.el @@ -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 diff --git a/exwm-input.el b/exwm-input.el index 5b43370..d410bec 100644 --- a/exwm-input.el +++ b/exwm-input.el @@ -30,8 +30,8 @@ ;; + Pointer simulation mode (e.g. 'C-c 1'/'C-c 2' for single/double click, ;; move with arrow keys). ;; + Simulation keys to mimic Emacs key bindings for text edit (redo, select, -;; cancel, clear, etc). Some of them are not present on common keyboard -;; (keycode = 0). May need to use XKB extension. +;; cancel, clear, etc). Some of them are not present on common keyboard +;; (keycode = 0). May need to use XKB extension. ;;; Code: diff --git a/exwm-layout.el b/exwm-layout.el index c10eecb..ba7f65c 100644 --- a/exwm-layout.el +++ b/exwm-layout.el @@ -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 diff --git a/exwm-randr.el b/exwm-randr.el index 19b9bb9..d9c083c 100644 --- a/exwm-randr.el +++ b/exwm-randr.el @@ -21,9 +21,10 @@ ;;; 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. +;; 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. ;; To use this module, load, enable it and configure ;; `exwm-randr-workspace-output-plist' and `exwm-randr-screen-change-hook' diff --git a/exwm-systemtray.el b/exwm-systemtray.el index a7bb664..60a2e3b 100644 --- a/exwm-systemtray.el +++ b/exwm-systemtray.el @@ -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 diff --git a/exwm-workspace.el b/exwm-workspace.el index fa1d47f..17aa2c0 100644 --- a/exwm-workspace.el +++ b/exwm-workspace.el @@ -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).