diff options
| author | Glenn Morris | 2020-05-18 13:08:27 -0700 |
|---|---|---|
| committer | Glenn Morris | 2020-05-18 13:08:27 -0700 |
| commit | ca7224d5dbfd6f07d537f6159aae8df667a65497 (patch) | |
| tree | 94447b6d1543fea930764a86dc853972e3180e06 /test/src/buffer-tests.el | |
| parent | ceee275431c7eb07b50cd1ecf7b22d2c0b6ed5f7 (diff) | |
| download | emacs-ca7224d5dbfd6f07d537f6159aae8df667a65497.tar.gz emacs-ca7224d5dbfd6f07d537f6159aae8df667a65497.zip | |
Add test for recent buffer-local-variables change
* test/src/buffer-tests.el (buffer-tests-buffer-local-variables-undo):
New.
Diffstat (limited to 'test/src/buffer-tests.el')
| -rw-r--r-- | test/src/buffer-tests.el | 6 |
1 files changed, 6 insertions, 0 deletions
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." | |||
| 1327 | (set-buffer-multibyte t) | 1327 | (set-buffer-multibyte t) |
| 1328 | (buffer-string))))))) | 1328 | (buffer-string))))))) |
| 1329 | 1329 | ||
| 1330 | ;; https://debbugs.gnu.org/33492 | ||
| 1331 | (ert-deftest buffer-tests-buffer-local-variables-undo () | ||
| 1332 | "Test that `buffer-undo-list' appears in `buffer-local-variables'." | ||
| 1333 | (with-temp-buffer | ||
| 1334 | (should (assq 'buffer-undo-list (buffer-local-variables))))) | ||
| 1335 | |||
| 1330 | ;;; buffer-tests.el ends here | 1336 | ;;; buffer-tests.el ends here |