Permalink
Browse files

Merge pull request #323 from rolandwalker/byte-compiler

Fix: quieten byte-compiler
  • Loading branch information...
2 parents cbfc82d + 49dde51 commit 5aff68266c12ecf4067dae7f0124a9b129246371 @joaotavora committed Nov 6, 2012
Showing with 12 additions and 1 deletion.
  1. +1 −0 dropdown-list.el
  2. +11 −1 yasnippet.el
View
@@ -250,4 +250,5 @@ Use multiple times to bind different COMMANDs to the same KEY."
;;; dropdown-list.el ends here
;; Local Variables:
;; coding: utf-8
+;; byte-compile-warnings: (not cl-functions)
;; End:
View
@@ -136,6 +136,15 @@
(require 'easymenu)
(require 'help-mode)
+(eval-when-compile
+ (defvar yas--editing-template)
+ (defvar yas--guessed-modes)
+ (defvar yas--indent-original-column)
+ (defvar yas--scheduled-jit-loads)
+ (defvar yas-keymap)
+ (defvar yas-selected-text)
+ (defvar yas-verbosity))
+
;;; User customizable variables
@@ -1862,7 +1871,7 @@ This works by stubbing a few functions, then calling
(when (file-exists-p elfile)
(insert ";;; .yas-setup.el support file if any:\n;;;\n")
(insert-file-contents elfile)
- (end-of-buffer)
+ (goto-char (point-max))
)))
(yas-define-snippets
(mode snippets)
@@ -4584,4 +4593,5 @@ upon.")
;;; yasnippet.el ends here
;; Local Variables:
;; coding: utf-8
+;; byte-compile-warnings: (not cl-functions)
;; End:

0 comments on commit 5aff682

Please sign in to comment.