diff options
author | smihica <smihica@gmail.com> | 2014-10-26 07:40:01 +0900 |
---|---|---|
committer | smihica <smihica@gmail.com> | 2014-10-26 07:40:01 +0900 |
commit | 06f0a46f5bcd13999cba3d6876bfd611b9fc0233 (patch) | |
tree | 0312cf1d0b916475447553d81a43c4b5ddff9827 /src/init.el | |
parent | 039c5a5e2f80c5f12f826c6df0dbeba62203a1af (diff) | |
download | emmet-mode-06f0a46f5bcd13999cba3d6876bfd611b9fc0233.tar.lz emmet-mode-06f0a46f5bcd13999cba3d6876bfd611b9fc0233.tar.xz emmet-mode-06f0a46f5bcd13999cba3d6876bfd611b9fc0233.zip |
Avoid warning messages
Diffstat (limited to 'src/init.el')
-rw-r--r-- | src/init.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/init.el b/src/init.el index c6095f1..ca412eb 100644 --- a/src/init.el +++ b/src/init.el @@ -4,7 +4,14 @@ (defconst emmet-mode:version "1.0.10") -(require 'cl) +(with-no-warnings + (require 'cl)) + +;; for portability with < 24.3 EMACS +(unless (fboundp 'cl-labels) (fset 'cl-labels 'labels)) +(unless (fboundp 'cl-flet) (fset 'cl-flet 'flet)) +;; < 22.1 +(unless (fboundp 'string-to-number) (fset 'string-to-number 'string-to-int)) (defmacro emmet-defparameter (symbol &optional initvalue docstring) `(progn |