On Fri, Nov 18 2011, Stephen J. Turnbull wrote:
Marcus Harnisch writes:
> ;; Is there any reason for having both, #'move-beginning-of-line and
> ;; #'beginning-of-line?
That is hideous. Who approved that, I wonder? Oh, I see. There's a
distinction between logical order and display order, so this must be
related to the recent introduction of bidi support in Emacs.
Nope, no relation to bidi:
,----[ ChangeLog.12 ]
| 2005-03-07 Kim F. Storm <storm(a)cua.dk>
|
| * simple.el (move-beginning-of-line): New command.
`----
> (unless (fboundp 'move-beginning-of-line)
> (defalias 'move-beginning-of-line 'beginning-of-line))
Is this code in a package?
,----[ (info "(elisp)Coding Conventions") ]
| * If a package needs to define an alias or a new function for
| compatibility with some other version of Emacs, name it with the
| package prefix, not with the raw name with which it occurs in the
| other version. Here is an example from Gnus, which provides many
| examples of such compatibility issues.
|
| (defalias 'gnus-point-at-bol
| (if (fboundp 'point-at-bol)
| 'point-at-bol
| 'line-beginning-position))
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available |
http://rsteib.home.pages.de/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta