diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-03-07 21:23:08 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-03-07 21:23:47 -0800 |
commit | 1590127335cef06af8d77884f9c16a8629d65943 (patch) | |
tree | 32b8046ed3faf42a430eca93fcf56b7b1f853c25 /test/lisp/emacs-lisp/benchmark-tests.el | |
parent | 1a6597660a405fe78885476f8761cab79167b4e1 (diff) | |
download | emacs-1590127335cef06af8d77884f9c16a8629d65943.tar.gz emacs-1590127335cef06af8d77884f9c16a8629d65943.tar.bz2 emacs-1590127335cef06af8d77884f9c16a8629d65943.zip |
min and max should not return markers
Problem reported by Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2017-03/msg00147.html
* src/data.c (minmax_driver): Convert any marker result to an
integer, since some callers assume this.
* test/src/data-tests.el (data-tests-max, data-tests-min):
Test for this.
Diffstat (limited to 'test/lisp/emacs-lisp/benchmark-tests.el')
0 files changed, 0 insertions, 0 deletions