about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2017-02-05T09·50+0800
committerChris Feng <chris.w.feng@gmail.com>2017-02-05T09·50+0800
commitf221f837cb1e38e00fdbe54d25301c09d77c7ae9 (patch)
tree87b1979f8ad61d4aa1a83697ca49800d8a8e5ec4
parent9926d87b65f1a5e627032b8da329799cd612f289 (diff)
Fix checkdoc warnings
-rw-r--r--exwm-cm.el4
-rw-r--r--exwm-config.el2
-rw-r--r--exwm-input.el4
-rw-r--r--exwm-layout.el4
-rw-r--r--exwm-randr.el7
-rw-r--r--exwm-systemtray.el2
-rw-r--r--exwm-workspace.el2
7 files changed, 13 insertions, 12 deletions
diff --git a/exwm-cm.el b/exwm-cm.el
index 532a8b583a62..233d5e077390 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 2f1fa797c211..73004f648072 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 5b43370abd93..d410bec7912e 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 c10eecbd6d0e..ba7f65cf3bab 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 19b9bb93b8ad..d9c083c8aff8 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 a7bb664d410e..60a2e3b3de15 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 fa1d47f079cb..17aa2c08cb16 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).