Jerome Quelin <[EMAIL PROTECTED]> writes:

> And the minibuffer tells me:
> Symbol's function definition is void: line-beginning-position
>
> I'm using xemacs 21.4.14

You could put something like:
(defalias 'line-beginning-position 'point-at-bol)
in your XEmacs init file.


How about defining a compatibility alias if necessary like so:

--- pir-mode.el 17 Aug 2004 15:59:49 +0100      1.2
+++ pir-mode.el 01 Oct 2004 23:08:08 +0100      
@@ -8,8 +8,11 @@
 ;; See the documentation of `octave-mode' and `octave-help' for further
 ;; information. 
 
-(require 'regexp-opt)
 ;;; Code:
+(require 'regexp-opt)
+(unless (fboundp 'line-beginning-position)
+  (defalias 'line-beginning-position 'point-at-bol))
+
 (add-to-list 'auto-mode-alist '("\\.imc\\'" . pir-mode))
 
 (defvar pir-mode-hook nil)

Reply via email to