Eliminate compilation warnings

This commit is contained in:
Chris Feng 2016-02-07 11:40:14 +08:00
parent 15cdf8f589
commit fb9bfd2911
4 changed files with 5 additions and 0 deletions

View file

@ -221,6 +221,7 @@
(exwm-floating--unset-floating exwm--id) (exwm-floating--unset-floating exwm--id)
(exwm-floating--set-floating exwm--id)))) (exwm-floating--set-floating exwm--id))))
;;;###autoload
(defun exwm-floating--fit-frame-to-window (&optional frame-outer-id (defun exwm-floating--fit-frame-to-window (&optional frame-outer-id
width height) width height)
"Resize a floating frame to make it fit the size of the window. "Resize a floating frame to make it fit the size of the window.

View file

@ -417,6 +417,7 @@ See also `exwm-layout-enlarge-window'."
(xcb:flush exwm--connection) (xcb:flush exwm--connection)
(setq window-size-fixed exwm--fixed-size)))) (setq window-size-fixed exwm--fixed-size))))
;;;###autoload
(defun exwm-layout-toggle-mode-line () (defun exwm-layout-toggle-mode-line ()
"Toggle the display of mode-line." "Toggle the display of mode-line."
(interactive) (interactive)

View file

@ -202,6 +202,7 @@ corresponding buffer.")
(with-current-buffer (exwm--id->buffer id) (with-current-buffer (exwm--id->buffer id)
(run-hooks 'exwm-manage-finish-hook))))) (run-hooks 'exwm-manage-finish-hook)))))
;;;###autoload
(defun exwm-manage--unmanage-window (id &optional withdraw-only) (defun exwm-manage--unmanage-window (id &optional withdraw-only)
"Unmanage window ID." "Unmanage window ID."
(let ((buffer (exwm--id->buffer id))) (let ((buffer (exwm--id->buffer id)))

View file

@ -111,10 +111,12 @@ Value nil means to use the default position which is fixed at bottom, while
(defvar exwm-workspace--display-echo-area-timer nil (defvar exwm-workspace--display-echo-area-timer nil
"Timer for auto-hiding echo area.") "Timer for auto-hiding echo area.")
;;;###autoload
(defun exwm-workspace--minibuffer-own-frame-p () (defun exwm-workspace--minibuffer-own-frame-p ()
"Reports whether the minibuffer is displayed in its own frame." "Reports whether the minibuffer is displayed in its own frame."
(memq exwm-workspace-minibuffer-position '(top bottom))) (memq exwm-workspace-minibuffer-position '(top bottom)))
;;;###autoload
(defun exwm-workspace--resize-minibuffer-frame (&optional width height) (defun exwm-workspace--resize-minibuffer-frame (&optional width height)
"Resize minibuffer (and its container) to fit the size of workspace. "Resize minibuffer (and its container) to fit the size of workspace.