Remove unnecessary workaround

* lisp/org.el (org-end-of-line): Remove unnecessary workaround for bug
  #14346.
This commit is contained in:
Nicolas Goaziou 2016-10-15 00:52:15 +02:00
parent 45048eb783
commit 5c85409464
1 changed files with 1 additions and 4 deletions

View File

@ -23822,10 +23822,7 @@ With argument N not nil or 1, move forward N - 1 lines first."
(when (/= bol (line-beginning-position))
(goto-char bol)
(end-of-line))))
(t (end-of-line))))
(setq disable-point-adjustment
(or (not (invisible-p (point)))
(not (invisible-p (max (point-min) (1- (point))))))))
(t (end-of-line)))))
(define-key org-mode-map "\C-a" 'org-beginning-of-line)
(define-key org-mode-map "\C-e" 'org-end-of-line)