Commit a5eed3e2 authored by Ulrik Haugen's avatar Ulrik Haugen
Browse files

renamed kom-edit-add-link to kom-edit-insert-link.

mention kom-edit-add-cross-reference and kom-edit-insert-link in
lyskom-edit-mode.
parent d6bd51fc
2001-08-16 Ulrik Haugen <qha@lysator.liu.se>
* edit-text.el (kom-edit-add-link): new. Inserts a link
* edit-text.el (kom-edit-insert-link): new. Inserts a link
in the text you are writing.
(lyskom-edit-mode): add documentation for
kom-edit-add-cross-reference and kom-edit-insert-link.
* commands1.el (lyskom-read-link): new. Returns a link to a text,
person or conference.
......
......@@ -402,9 +402,11 @@ Commands:
\\[kom-edit-add-recipient] asks for another recipient and adds him to the header.
\\[kom-edit-add-copy] as \\[kom-edit-add-recipient] but adds him as copy-recipient.
\\[kom-edit-add-cross-reference] asks for what to refer to and adds a cross reference to it.
\\[kom-edit-insert-commented] inserts the commented or footnoted text.
\\[kom-edit-insert-text] inserts the shown text, you tell the number.
\\[kom-edit-insert-link] asks for what to link to and inserts a link to it.
Even though this is a minor mode, it's not intended to be turned on and off,
so it's not as clean as it ought to be."
......@@ -1309,7 +1311,7 @@ RECPT-TYPE is the type of recipient to add."
nil nil nil nil nil nil nil nil)
0 "")))
(defun kom-edit-add-link ()
(defun kom-edit-insert-link ()
(interactive)
(let ((item (lyskom-read-link)))
(when item
......
......@@ -107,7 +107,7 @@
(define-key lyskom-en-edit-prefix (kbd "C-a C-c") 'kom-edit-add-copy)
(define-key lyskom-en-edit-prefix (kbd "C-a <RET>") 'kom-edit-move-text)
(define-key lyskom-en-edit-prefix (kbd "C-a C-x") 'kom-edit-add-cross-reference)
(define-key lyskom-en-edit-prefix (kbd "C-a C-l") 'kom-edit-add-link)
(define-key lyskom-en-edit-prefix (kbd "C-a C-l") 'kom-edit-insert-link)
(define-key lyskom-en-edit-prefix (kbd "C-x C-p") 'kom-edit-add-personal-comments)
(define-key lyskom-en-edit-prefix (kbd "C-x C-n") 'kom-edit-add-no-comments)
(define-key lyskom-en-edit-prefix (kbd "C-x C-r") 'kom-edit-add-read-confirm-request)
......
......@@ -118,7 +118,7 @@
(define-key lyskom-sv-edit-prefix (kbd "C-a <LFD>") 'kom-edit-add-recipient)
(define-key lyskom-sv-edit-prefix (kbd "C-a C-k") 'kom-edit-add-comment)
(define-key lyskom-sv-edit-prefix (kbd "C-a C-x") 'kom-edit-add-cross-reference)
(define-key lyskom-sv-edit-prefix (kbd "C-a C-l") 'kom-edit-add-link)
(define-key lyskom-sv-edit-prefix (kbd "C-a C-l") 'kom-edit-insert-link)
(define-key lyskom-sv-edit-prefix (kbd "C-x C-p") 'kom-edit-add-personal-comments)
(define-key lyskom-sv-edit-prefix (kbd "C-x C-n") 'kom-edit-add-no-comments)
(define-key lyskom-sv-edit-prefix (kbd "C-x C-b") 'kom-edit-add-read-confirm-request)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment