diff options
author | alinmear <alinmear@users.noreply.github.com> | 2020-06-28 09:32:41 +0200 |
---|---|---|
committer | alinmear <alinmear@users.noreply.github.com> | 2020-06-28 09:32:41 +0200 |
commit | a767f16fb15ef80a66dc828245bd1840b790ac5c (patch) | |
tree | a238970b98d1c103e1297d62dbadfaf80f191f73 | |
parent | 3fdf9db321b335a8d05a3d7ca4bd9509ac5a0214 (diff) |
Fixed missing -n switch on tail call
-rw-r--r-- | org-recoll.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org-recoll.el b/org-recoll.el index 414ee95..07a93cc 100644 --- a/org-recoll.el +++ b/org-recoll.el @@ -297,7 +297,7 @@ If PAGING is t this indicates that the function is being called to page through (insert (shell-command-to-string (concat org-recoll-command-invocation " -Q '" (org-recoll-sanitize-single-quote squery) "'"))) (insert (concat "\n" "Results: " (number-to-string org-recoll-start-of-current-page) " - " (number-to-string org-recoll-end-of-current-page) "\n\n")) ;;Print results - (insert (shell-command-to-string (concat org-recoll-command-invocation " -n '" (number-to-string org-recoll-start-of-current-page) "-" (number-to-string org-recoll-results-num) "' -q " "'" (org-recoll-sanitize-single-quote squery) "'" " | tail +3"))) + (insert (shell-command-to-string (concat org-recoll-command-invocation " -n '" (number-to-string org-recoll-start-of-current-page) "-" (number-to-string org-recoll-results-num) "' -q " "'" (org-recoll-sanitize-single-quote squery) "'" " | tail -n +3"))) ;;Format (org-recoll-format-results) ;;Prevent editing |