tags 27583 + patch quit Drew Adams writes: > Most of the places where `major-mode' is tested use a test like this: > (derived-mode-p 'Info-mode). But there are still a few places where > this is done: (eq major-mode 'Info-mode). > > I think (but am not positive) that each of the latter tests should be > changed to use `derived-mode-p', to let users and libraries define and > use modes that are derived from `Info-mode'. > > It looks like the places that still use (eq major-mode 'Info-mode) > constitute code that doesn't get much love. The occurrences are in > these 3 things: > > Info-hide-note-references (in the option's :set function) > info-display-manual > info--manual-names (used only by info-display-manual) Makes sense. How about the attached patch? Best regards, Stefan Kangas