From 720c3a84ac5e90cec1b4eb2130565268ce506a8c Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 12 Apr 2019 00:55:40 -0700 Subject: [PATCH] Silence warning about obsolete function for Elisp --- oni-elisp.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/oni-elisp.el b/oni-elisp.el index 92c497e..5123c68 100644 --- a/oni-elisp.el +++ b/oni-elisp.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190306002948 +;; Version: 20190412005509 ;; Package-Requires: (oni-company oni-flycheck oni-paredit oni-fci rainbow-delimiters nameless erefactor) ;; This program is free software; you can redistribute it and/or modify @@ -26,7 +26,9 @@ ;;; Code: -(require 'erefactor) +(let ((byte-compile-not-obsolete-funcs '(preceding-sexp))) + (require 'erefactor)) + (require 'ielm) (add-hook 'emacs-lisp-mode-hook 'company-mode)