[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: visiting certain .c file adds to kill ring
From: |
Reiner Steib |
Subject: |
Re: visiting certain .c file adds to kill ring |
Date: |
Sat, 21 Apr 2007 18:11:34 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) |
On Sat, Apr 21 2007, martin rudalics wrote:
>> [subr.el]
>> ;; These are the XEmacs names:
>> (defalias 'point-at-eol 'line-end-position)
>> (defalias 'point-at-bol 'line-beginning-position)
>
> I think it's for Emacs < 20 compatibility.
I think the comment is correct. XEmacs prefers point-at-[be]ol (which
are defined src/cmds.c in whereas line-*-position are defined in
lisp/obsolete.el) whereas Emacs prefers line-*-position (builtin;
point-at-[be]ol are aliases since Emacs 21 [1]).
Bye, Reiner.
[1]
,----
| revision 1.209
| date: 1999-08-16 22:57:24 +0200; author: kwzh; state: Exp; lines: +2 -0
| (point-at-eol, point-at-bol): New aliases.
`----
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/