changeset 4728:c67cd5d56071

[project @ 2004-01-29 18:38:49 by jwe]
author jwe
date Thu, 29 Jan 2004 18:38:49 +0000
parents bcd75f15bc9c
children 2ae4a2695ab6
files ChangeLog emacs/octave-mod.el
diffstat 2 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <jwe@bevo.che.wisc.edu>
+
+	* 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  <jwe@bevo.che.wisc.edu>
+
+	* 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  <jwe@bevo.che.wisc.edu>
 
 	* configure.in (AH_BOTTOM):
--- 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)