Skip to content

Commit

Permalink
Revert "feat - Added option to set table name"
Browse files Browse the repository at this point in the history
cleaning the features
  • Loading branch information
OZoneGuy committed Jan 8, 2024
1 parent c2477c9 commit 6150568
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions org-ql-search.el
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,6 @@ Valid parameters include:
are displayed as links, otherwise they are displayed
as plain text.
:table-name Optional string. If non-nil, add `#+tblname: <name>'
before the table. Allowing it to be referenced.
For example, an org-ql dynamic block header could look like
this (must be a single line in the Org buffer):
Expand Down Expand Up @@ -362,8 +359,6 @@ this (must be a single line in the Org buffer):
""))
" | ")))
;; Table header
(if table-name
(insert (concat "#+tblname: " (format "%s" table-name) "\n")))
(insert "| " (string-join (--map (pcase it
((pred symbolp) (capitalize (symbol-name it)))
(`(,_ ,name) name))
Expand Down

0 comments on commit 6150568

Please sign in to comment.