Anonymous avatar Anonymous committed 009b8f8

Fixed ugly hack with newline.

Comments (0)

Files changed (1)

org-annotate-file.el

   (org-store-link (point-at-bol)))
 
 (defun org-annotate-file-add-upper-level (link)
-  (defun ugly-hack ()
-	"Something causes ']' to fall off the end of the link.  This
-ugly hack is required to work around the limitation."
-	(insert "]"))
   (new-entry)
   (insert "* ")
   (insert link)
-  (ugly-hack))
+  (newline))
 
 (defun org-annotate-file-add-second-level (link)
   (new-entry)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.