Return value in ALIST for `major-mode', or ALIST if it is not an alist. Structure is ((MAJOR-MODE . VALUE) ...) where MAJOR-MODE may be t.