Load cl-lib for using its macro
authorSyohei YOSHIDA <[email protected]>
Tue, 24 Jan 2017 08:16:15 +0000 (24 17:16 +0900)
committerSyohei YOSHIDA <[email protected]>
Tue, 24 Jan 2017 08:16:15 +0000 (24 17:16 +0900)
inline-docs.el

index f51f850..7bfbdef 100644 (file)
@@ -14,6 +14,8 @@
 ;;; Code:
 ;;; ----------------------------------------------------------------------------
 
+(require 'cl-lib)
+
 (defvar inline-docs-overlay nil)
 
 (defgroup inline-docs nil
@@ -97,7 +99,7 @@ Set `inline-docs-position' to `up' to fix issue that `inline-docs' does not show
           ;; clear overlay
           (inline-docs--clear-overlay)
           ;; decide overlay positions
-          (case inline-docs-position
+          (cl-case inline-docs-position
             ('up (forward-line 0))
             ('down (forward-line)))
           (setq start-pos (point))