Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!uflorida!novavax!weiner From: weiner@novavax.UUCP (Bob Weiner) Newsgroups: comp.emacs Subject: Note on info-mouse.el missing 'last-line-p' Message-ID: <1135@novavax.UUCP> Date: 28 Mar 89 23:30:03 GMT Organization: Nova University, Fort Lauderdale, FL Lines: 16 Hucka@caen.engin.umich.edu pointed out that he had no 'last-line-p' function which is called in the info-mouse.el package that I posted awhile back. I checked and the function is in cal.el which is now distributed with GNU Emacs but may not have been when you got your version. It is a very simple function, so the code follows. (defun last-line-p () "Return T if point is on the last line of the buffer. If the buffer is narrowed, this means the last line of the narrowed part." (save-excursion (end-of-line) (eobp))) -- Bob Weiner, Motorola, Inc., USENET: ...!gatech!uflorida!novavax!weiner (407) 738-2087