lsp.el: fix "no lexical binding" warning (#4329)

Upstream Emacs has enabled warnings for `.el` files with no
lexical-binding directive, so this file triggers a:

    In toplevel form:
    lsp.el:1:1: Warning: file has no ‘lexical-binding’ directive on its first line

Fix that.
pull/4334/head
Konstantin K 2024-02-11 12:07:39 +03:00 committed by GitHub
parent ebe16fc869
commit 3c011dd108
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

2
lsp.el
View File

@ -1,4 +1,4 @@
;; The code was moved into lsp-mode.el. This file is kept only for backward compatibility.
;; The code was moved into lsp-mode.el. This file is kept only for backward compatibility. -*- lexical-binding: t -*-
(require 'lsp-mode)
;; (warn "Replace (require 'lsp) with (require 'lsp-mode)")