# HG changeset patch # User jwe # Date 1075401529 0 # Node ID c67cd5d56071ff401490fa4f526da834560edff1 # Parent bcd75f15bc9c74b3df3f2644aea83985f3ed18e0 [project @ 2004-01-29 18:38:49 by jwe] diff -r bcd75f15bc9c -r c67cd5d56071 ChangeLog --- a/ChangeLog Sun Jan 25 23:30:15 2004 +0000 +++ b/ChangeLog Thu Jan 29 18:38:49 2004 +0000 @@ -1,3 +1,13 @@ +2004-01-29 John W. Eaton + + * emacs/octave-mod.el: If line-end-position is not defined, + provide it as an alias for point-at-eol. + +2004-01-24 John W. Eaton + + * emacs/octave-mod.el: If line-beginning-position is not defined, + provide it as an alias for point-at-bol. + 2004-01-23 John W. Eaton * configure.in (AH_BOTTOM): diff -r bcd75f15bc9c -r c67cd5d56071 emacs/octave-mod.el --- a/emacs/octave-mod.el Sun Jan 25 23:30:15 2004 +0000 +++ b/emacs/octave-mod.el Thu Jan 29 18:38:49 2004 +0000 @@ -564,6 +564,13 @@ (run-hooks 'octave-mode-hook)) ;;; Miscellaneous useful functions + +(unless (fboundp 'line-beginning-position) + (defalias 'line-beginning-position 'point-at-bol)) + +(unless (fboundp 'line-end-position) + (defalias 'line-end-position 'point-at-eol)) + (defun octave-describe-major-mode () "Describe the current major mode." (interactive)