Opening common files.

Commit
c59bffecec1de4e1e88ffdc2959d15f7cd2354a8
Author
Marius Peter <marius.peter@tutanota.com>
Author date
Committer
Marius Peter <marius.peter@tutanota.com>
Committer date
smart-documents.org
index 80cec4d7..1a72a867 100644..100644
@@ -149,17 +149,8 @@
149 149 (profiler-start)
150 150 #+END_SRC
151 151
152 Removed: ** Jumping to this file
153 152
154 Removed: We begin by defining a function to open this very file.
155 153
156 Removed: #+NAME: shortcut-config
157 Removed: #+BEGIN_SRC emacs-lisp :tangle yes
158 Removed: (defun my/find-literate-config ()
159 Removed: "Jump to this very file."
160 Removed: (interactive)
161 Removed: (find-file my/literate-config))
162 Removed: #+END_SRC
163 154 ** Usual paths to files & directories
164 155
165 156 This section defines the paths that structure the overall {{{sd}}}
@@ -376,9 +367,16 @@
376 367 (Function defined in Section [[Jumping to this file]])
377 368
378 369 #+BEGIN_SRC emacs-lisp :tangle yes
379 Removed: (global-set-key (kbd "C-c c") 'my/find-literate-config)
370 Added: (global-set-key (kbd "C-c c") 'sd-find-literate-config)
380 371 #+END_SRC
381 372
373 Added:
374 Added: *** TODO Open the Org diary
375 Added:
376 Added: #+BEGIN_SRC emacs-lisp :tangle yes
377 Added: (global-set-key (kbd "C-c d") 'sd-find-org-diary)
378 Added: #+END_SRC
379 Added:
382 380 *** Open a recently visited file
383 381
384 382 #+BEGIN_SRC emacs-lisp :tangle yes
@@ -1454,7 +1452,34 @@
1454 1452 subsection (Section [[Keyboard shortcuts]]), the links to that name
1455 1453 will resolve to the earliest heading in the document, i.e. the
1456 1454 keybinding subsection, and not the subsection describing the
1457 Removed: `one-click workflow'.
1455 Added: ``one-click workflow''.
1456 Added:
1457 Added:
1458 Added: ** Opening files
1459 Added:
1460 Added: First off, we identify files that we'd like to jump to conveniently.
1461 Added:
1462 Added:
1463 Added: *** This very file
1464 Added:
1465 Added: We begin by defining a function to open this very file.
1466 Added:
1467 Added: #+BEGIN_SRC emacs-lisp :tangle yes
1468 Added: (defun sd-find-literate-config ()
1469 Added: "Visit this very file."
1470 Added: (interactive)
1471 Added: (find-file sd-literate-config))
1472 Added: #+END_SRC
1473 Added:
1474 Added: *** Org diary file
1475 Added:
1476 Added: #+BEGIN_SRC emacs-lisp :tangle yes
1477 Added: (defun sd-find-org-diary()
1478 Added: "Visit the `org-agenda-diary-file'."
1479 Added: (interactive)
1480 Added: (find-file org-agenda-diary-file))
1481 Added: #+END_SRC
1482 Added:
1458 1483
1459 1484 ** TODO Export to PDF
1460 1485