aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Dominik2007-07-13 16:08:46 +0000
committerCarsten Dominik2007-07-13 16:08:46 +0000
commit8ca3a1ea8446b3daf4717dd8ea6fb153cbfba5b9 (patch)
tree080a07044a639fc56570796de2f0ee0850688f24
parent1bedaec120776a661fbc80b06a1b3a7022f54cf8 (diff)
downloademacs-8ca3a1ea8446b3daf4717dd8ea6fb153cbfba5b9.tar.gz
emacs-8ca3a1ea8446b3daf4717dd8ea6fb153cbfba5b9.zip
Move to end of line if in headline without
tags.
-rw-r--r--lisp/textmodes/org.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el
index 22bc3f12bb3..a7eb10dbb4f 100644
--- a/lisp/textmodes/org.el
+++ b/lisp/textmodes/org.el
@@ -5,7 +5,7 @@
5;; Author: Carsten Dominik <dominik at science dot uva dot nl> 5;; Author: Carsten Dominik <dominik at science dot uva dot nl>
6;; Keywords: outlines, hypermedia, calendar, wp 6;; Keywords: outlines, hypermedia, calendar, wp
7;; Homepage: http://www.astro.uva.nl/~dominik/Tools/org/ 7;; Homepage: http://www.astro.uva.nl/~dominik/Tools/org/
8;; Version: 5.03 8;; Version: 5.03b
9;; 9;;
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11;; 11;;
@@ -83,7 +83,7 @@
83 83
84;;; Version 84;;; Version
85 85
86(defconst org-version "5.03" 86(defconst org-version "5.03b"
87 "The version number of the file org.el.") 87 "The version number of the file org.el.")
88(defun org-version () 88(defun org-version ()
89 (interactive) 89 (interactive)
@@ -23525,7 +23525,8 @@ beyond the end of the headline."
23525 (if (or (< pos (match-beginning 1)) 23525 (if (or (< pos (match-beginning 1))
23526 (= pos (match-end 0))) 23526 (= pos (match-end 0)))
23527 (goto-char (match-beginning 1)) 23527 (goto-char (match-beginning 1))
23528 (goto-char (match-end 0))))))) 23528 (goto-char (match-end 0)))
23529 (end-of-line arg)))))
23529 23530
23530(define-key org-mode-map "\C-a" 'org-beginning-of-line) 23531(define-key org-mode-map "\C-a" 'org-beginning-of-line)
23531(define-key org-mode-map "\C-e" 'org-end-of-line) 23532(define-key org-mode-map "\C-e" 'org-end-of-line)