From 688e2d983c8ca41c1b5a5241d22df31a57575a0a Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Fri, 20 Jan 2023 19:41:36 +0100 Subject: Add missing links to tests --- compat-28.el | 2 +- compat-29.el | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compat-28.el b/compat-28.el index a4b494d..e630e81 100644 --- a/compat-28.el +++ b/compat-28.el @@ -678,7 +678,7 @@ contrast color with RGB as background and as foreground." ;;;; Defined in window.el -(compat-defmacro with-window-non-dedicated (window &rest body) +(compat-defmacro with-window-non-dedicated (window &rest body) ;; "Evaluate BODY with WINDOW temporarily made non-dedicated. If WINDOW is nil, use the selected window. Return the value of the last form in BODY." diff --git a/compat-29.el b/compat-29.el index 60f5b2e..efba433 100644 --- a/compat-29.el +++ b/compat-29.el @@ -171,7 +171,7 @@ This function does not move point. Also see `line-end-position'." ;;;; Defined in subr.el -(compat-defun buffer-local-restore-state (states) +(compat-defun buffer-local-restore-state (states) ;; "Restore values of buffer-local variables recorded in STATES. STATES should be an object returned by `buffer-local-set-state'." (dolist (state states) @@ -179,7 +179,7 @@ STATES should be an object returned by `buffer-local-set-state'." (set (car state) (caddr state)) (kill-local-variable (car state))))) -(compat-defun buffer-local-set-state--get (pairs) +(compat-defun buffer-local-set-state--get (pairs) ;; "Internal helper function." (let ((states nil)) (while pairs @@ -192,7 +192,7 @@ STATES should be an object returned by `buffer-local-set-state'." (setq pairs (cddr pairs))) (nreverse states))) -(compat-defmacro buffer-local-set-state (&rest pairs) +(compat-defmacro buffer-local-set-state (&rest pairs) ;; "Like `setq-local', but allow restoring the previous state of locals later. This macro returns an object that can be passed to `buffer-local-restore-state' in order to restore the state of the local variables set via this macro. @@ -222,7 +222,7 @@ in order to restore the state of the local variables set via this macro. "Delete the current line." (delete-region (pos-bol) (pos-bol 2))) -(compat-defmacro with-narrowing (start end &rest rest) +(compat-defmacro with-narrowing (start end &rest rest) ;; "Execute BODY with restrictions set to START and END. The current restrictions, if any, are restored upon return. -- cgit v1.0