summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2020-12-30 12:38:20 +0100
committerKyle Meyer <kyle@kyleam.com>2021-02-14 17:38:07 -0500
commita633d9aea649cccd325aaabe4580ce85564f6eaf (patch)
tree581d7aaa23fb82aaecd8a7c0ee2491ca9e0fa87d
parent263d3852f68e35806c5a5266bd7568b67e747e71 (diff)
downloadorg-mode-a633d9aea649cccd325aaabe4580ce85564f6eaf.tar.gz
Backport commit dd662fc97 from Emacs
* lisp/ob-sql.el (org-babel-sql-dbstring-vertica): * lisp/ol-bbdb.el (org-bbdb-date-list): Fix doc strings to not exceed 80-column limits. (Bug#44858) Fix some over-wide docstrings dd662fc972a75df71cdaa25a2d763d1592df1eb8 Stefan Kangas Wed Dec 30 12:44:19 2020 +0100
-rw-r--r--lisp/ob-sql.el3
-rw-r--r--lisp/ol-bbdb.el2
2 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el
index b9dd72b..68d5ddd 100644
--- a/lisp/ob-sql.el
+++ b/lisp/ob-sql.el
@@ -164,7 +164,8 @@ SQL Server on Windows and Linux platform."
" "))
(defun org-babel-sql-dbstring-vertica (host port user password database)
- "Make Vertica command line args for database connection. Pass nil to omit that arg."
+ "Make Vertica command line args for database connection.
+Pass nil to omit that arg."
(mapconcat #'identity
(delq nil
(list (when host (format "-h %s" host))
diff --git a/lisp/ol-bbdb.el b/lisp/ol-bbdb.el
index 84537b1..01a1fe9 100644
--- a/lisp/ol-bbdb.el
+++ b/lisp/ol-bbdb.el
@@ -431,7 +431,7 @@ variable to be globally bound."
;;; to override the 7-day default.
(defun org-bbdb-date-list (d n)
- "Return a list of dates in (m d y) format from the given date D to n-1 days hence."
+ "Return list of dates in (m d y) format from the given date D to n-1 days hence."
(let ((abs (calendar-absolute-from-gregorian d)))
(mapcar (lambda (i) (calendar-gregorian-from-absolute (+ abs i)))
(number-sequence 0 (1- n)))))