emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot f0c770c 48/49: Fix #555: autoload eglot-workspace


From: Stefan Monnier
Subject: [elpa] externals/eglot f0c770c 48/49: Fix #555: autoload eglot-workspace-configuration's safe-l-v spec
Date: Wed, 17 Mar 2021 18:41:51 -0400 (EDT)

branch: externals/eglot
commit f0c770cfbbc75c7aeb22cd2b118bc3948596d7a7
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Fix #555: autoload eglot-workspace-configuration's safe-l-v spec
    
    This is useful for those who edit files in a certain source tree where
    this directory-local variable is set, but without having yet loaded
    eglot.el.  Those users would be bothered by the usual
    risky-local-variable prompt.
    
    * eglot.el (eglot-workspace-configuration): Add autoload cookie.
---
 eglot.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eglot.el b/eglot.el
index 14c0fbc..79b9088 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1848,6 +1848,7 @@ Records BEG, END and PRE-CHANGE-LENGTH locally."
 SECTION should be a keyword or a string, value can be anything
 that can be converted to JSON.")
 
+;;;###autoload
 (put 'eglot-workspace-configuration 'safe-local-variable 'listp)
 
 (defun eglot-signal-didChangeConfiguration (server)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]