From: Glenn Morris Date: Mon, 18 May 2020 20:08:27 +0000 (-0700) Subject: Add test for recent buffer-local-variables change X-Git-Tag: emacs-28.0.90~7326 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ca7224d5dbfd6f07d537f6159aae8df667a65497;p=emacs.git Add test for recent buffer-local-variables change * test/src/buffer-tests.el (buffer-tests-buffer-local-variables-undo): New. --- diff --git a/test/src/buffer-tests.el b/test/src/buffer-tests.el index 6e87cb94897..6e9764625a9 100644 --- a/test/src/buffer-tests.el +++ b/test/src/buffer-tests.el @@ -1327,4 +1327,10 @@ with parameters from the *Messages* buffer modification." (set-buffer-multibyte t) (buffer-string))))))) +;; https://debbugs.gnu.org/33492 +(ert-deftest buffer-tests-buffer-local-variables-undo () + "Test that `buffer-undo-list' appears in `buffer-local-variables'." + (with-temp-buffer + (should (assq 'buffer-undo-list (buffer-local-variables))))) + ;;; buffer-tests.el ends here