Small updates to org-index.el

This commit is contained in:
Marc-Oliver Ihm 2014-01-03 19:58:38 +01:00
parent f69d4cef82
commit 7e1ea27e78
1 changed files with 9 additions and 9 deletions

View File

@ -66,7 +66,7 @@
;; ;;
;; Updates: ;; Updates:
;; ;;
;; The latest stable version of this file can always be found at: ;; The latest tested version of this file can always be found at:
;; ;;
;; http://orgmode.org/w/org-mode.git?p=org-mode.git;a=blob;f=contrib/lisp/org-index.el;hb=HEAD ;; http://orgmode.org/w/org-mode.git?p=org-mode.git;a=blob;f=contrib/lisp/org-index.el;hb=HEAD
@ -1474,8 +1474,8 @@ retrieves the value of the count-column for reference 12.
(insert (format "\n\n* %s %s\n" firstref title)) (insert (format "\n\n* %s %s\n" firstref title))
(insert "\n\n Below you find your initial index table, which will grow over time.\n" (insert "\n\n Below you find your initial index table, which will grow over time.\n"
" Following that your may read its detailed explanation, which will help you,\n" " Following that your may read its detailed explanation, which will help you,\n"
" to adopt org-index to your needs. This however is optional reading and not\n" " to adjust org-index to your needs. This however is optional reading and not\n"
" required to start using org-index.\n\n") " required to start using org-index.\n")
(setq id (org-id-get-create)) (setq id (org-id-get-create))
(insert (format " (insert (format "
@ -1523,17 +1523,17 @@ retrieves the value of the count-column for reference 12.
- ref: This contains the reference, which consists of a decorated - ref: This contains the reference, which consists of a decorated
number, which is incremented for each new line. References are number, which is incremented for each new line. References are
meant to be used in org-mode headlines or outside of org´, meant to be used in org-mode headlines or outside of org,
e.g. within folder names. e.g. within folder names.
- link: org-mode link pointing to the matching location within org. - link: org-mode link pointing to the matching location within org.
- first: When has this line been first accessed (i.e. created) ? - first: When has this line been first accessed (i.e. created) ?
- count: How many times has this line accessed ? The trailing - count: How many times has this line been accessed ? The
flag \"s\" makes the table beeing sorted after trailing flag \"s\" makes the table beeing sorted after this
this column, so that often used entries appear at the top of column this column, so that often used entries appear at the
the table. top of the table.
- last: When has this line been accessed last ? - last: When has this line been accessed last ?
@ -2034,7 +2034,7 @@ retrieves the value of the count-column for reference 12.
(if show-headings (insert "\n\n" org-index--headings))) (if show-headings (insert "\n\n" org-index--headings)))
(forward-line)) (forward-line))
(toggle-read-only 1) (setq buffer-read-only t)
;; perform action according to last char ;; perform action according to last char
(forward-line -1) (forward-line -1)