emacs-diffs
[Top][All Lists]
Advanced

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

master b6bced1a66 1/3: Autoload the buffer-local-set* things


From: Lars Ingebrigtsen
Subject: master b6bced1a66 1/3: Autoload the buffer-local-set* things
Date: Fri, 6 May 2022 07:28:34 -0400 (EDT)

branch: master
commit b6bced1a66969e7645f96c36030eb4e9d90a6dc0
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Autoload the buffer-local-set* things
    
    * lisp/emacs-lisp/easy-mmode.el (buffer-local-set-state--get)
    (buffer-local-restore-state): Autoload.  Perhaps it would be
    better to move these functions to subr.el or something...
---
 lisp/emacs-lisp/easy-mmode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index 33c0472ea8..bade14ec3d 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -839,6 +839,7 @@ restore the state.
        (buffer-local-set-state--get ',pairs)
      (setq-local ,@pairs)))
 
+;;;###autoload
 (defun buffer-local-set-state--get (pairs)
   (let ((states nil))
     (while pairs
@@ -851,6 +852,7 @@ restore the state.
       (setq pairs (cddr pairs)))
     (nreverse states)))
 
+;;;###autoload
 (defun buffer-local-restore-state (states)
   "Restore buffer local variable values in STATES.
 STATES is an object returned by `buffer-local-set-state'."



reply via email to

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