1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-23 07:18:53 +00:00

org-remember.el: Start the commented lines with the appropriate characters

* org-remember.el (org-remember-apply-template): Start the commented
  lines in the Remember temporary buffer with the appropriate
  characters.

TINYCHANGE
This commit is contained in:
Rafael Laboissiere 2012-10-27 23:40:39 +02:00 committed by Bastien Guerry
parent 4aa416876b
commit f9e89cb849

View File

@ -472,12 +472,12 @@ to be run from that hook to function properly."
(erase-buffer)
(insert (substitute-command-keys
(format
"## %s \"%s\" -> \"* %s\"
## C-u C-c C-c like C-c C-c, and immediately visit note at target location
## C-0 C-c C-c \"%s\" -> \"* %s\"
## %s to select file and header location interactively.
## C-2 C-c C-c as child (C-3: as sibling) of the currently clocked item
## To switch templates, use `\\[org-remember]'. To abort use `C-c C-k'.\n\n"
"# %s \"%s\" -> \"* %s\"
# C-u C-c C-c like C-c C-c, and immediately visit note at target location
# C-0 C-c C-c \"%s\" -> \"* %s\"
# %s to select file and header location interactively.
# C-2 C-c C-c as child (C-3: as sibling) of the currently clocked item
# To switch templates, use `\\[org-remember]'. To abort use `C-c C-k'.\n\n"
(if org-remember-store-without-prompt " C-c C-c" " C-1 C-c C-c")
(abbreviate-file-name (or file org-default-notes-file))
(or headline "")