martin rudalics <[EMAIL PROTECTED]> writes:

> cc-mode doesn't like `line-beginning-position' and
> `line-end-position'.

[subr.el]
;; These are the XEmacs names:
(defalias 'point-at-eol 'line-end-position)
(defalias 'point-at-bol 'line-beginning-position)


Here are other incorrect uses of kill-* functions in lisp/progmodes:

cc-cmds.el:859:      (kill-region (progn (forward-line 0) (point))
perl-mode.el:653:                              (kill-region (point) eol))

And there's a bunch of suspicious kill-line/kill-word/kill-region in
mantemp.el and vhdl-mode.el.


-- 
Johan Bockgård



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to