Function: edt-beginning-of-line

edt-beginning-of-line is an interactive and byte-compiled function defined in edt.el.gz.

Signature

(edt-beginning-of-line NUM)

Documentation

Move backward to next beginning of line mark.

Argument NUM is the number of BOL marks to move.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emulation/edt.el.gz
;;;
;;; BEGINNING OF LINE
;;;
;; EDT's beginning-of-line command is not affected by current
;; direction, for some unknown reason.

(defun edt-beginning-of-line (num)
  "Move backward to next beginning of line mark.
Argument NUM is the number of BOL marks to move."
  (interactive "p")
  (edt-check-prefix num)
  (let ((beg (edt-current-line)))
    (if (bolp)
	(forward-line (* -1 num))
      (progn
	(setq num (1- num))
	(forward-line (* -1 num))))
    (edt-top-check beg num)))