]> git.eshelyaron.com Git - emacs.git/commitdiff
Update to Org 9.6.5-3-g2993f4
authorKyle Meyer <kyle@kyleam.com>
Sun, 30 Apr 2023 23:36:21 +0000 (19:36 -0400)
committerKyle Meyer <kyle@kyleam.com>
Sun, 30 Apr 2023 23:36:21 +0000 (19:36 -0400)
etc/refcards/orgcard.tex
lisp/org/ob-core.el
lisp/org/org-version.el
lisp/org/org.el
lisp/org/ox-odt.el

index c5d112dba72b116591999a39fa30b4c51c61b89a..6ee77758e06d9bd9fb9a1beb61bb82629d0ff9df 100644 (file)
@@ -1,5 +1,5 @@
 % Reference Card for Org Mode
-\def\orgversionnumber{9.6.4}
+\def\orgversionnumber{9.6.5}
 \def\versionyear{2023}          % latest update
 \input emacsver.tex
 
index 3f6696fce779b48ddeed23d2faef972f35f319c6..e69ce4f1d12790c74c7e3e1efa68787496e0a342 100644 (file)
@@ -2426,7 +2426,8 @@ INFO may provide the values of these header arguments (in the
                  (delete-region (point) (org-babel-result-end)))
                 ((member "append" result-params)
                  (goto-char (org-babel-result-end)) (setq beg (point-marker)))
-                ((member "prepend" result-params))) ; already there
+                ;; ((member "prepend" result-params)) ; already there
+                 )
                (setq results-switches
                      (if results-switches (concat " " results-switches) ""))
                (let ((wrap
index b82e915ecd1fbb3be43c6929ff8a837cb6efa984..ef61dc9cbd6483a02a7ae6e09eb0abe2631d404e 100644 (file)
@@ -5,13 +5,13 @@
 (defun org-release ()
   "The release version of Org.
 Inserted by installing Org mode or when a release is made."
-   (let ((org-release "9.6.4"))
+   (let ((org-release "9.6.5"))
      org-release))
 ;;;###autoload
 (defun org-git-version ()
   "The Git version of Org mode.
 Inserted by installing Org or when a release is made."
-   (let ((org-git-version "release_9.6.4-9-g8eb209"))
+   (let ((org-git-version "release_9.6.5-3-g2993f4"))
      org-git-version))
 \f
 (provide 'org-version)
index 61862b3d63b3a9170b49d8af4335ed440d224a4b..f4aa28cc4869bae79b139a941986381ad197b641 100644 (file)
@@ -9,7 +9,7 @@
 ;; URL: https://orgmode.org
 ;; Package-Requires: ((emacs "26.1"))
 
-;; Version: 9.6.4
+;; Version: 9.6.5
 
 ;; This file is part of GNU Emacs.
 ;;
@@ -18602,6 +18602,10 @@ block from point."
              (throw 'exit n)))))
       nil)))
 
+;; Defined in org-agenda.el
+(defvar org-agenda-restrict)
+(defvar org-agenda-restrict-begin)
+(defvar org-agenda-restrict-end)
 (defun org-occur-in-agenda-files (regexp &optional _nlines)
   "Call `multi-occur' with buffers for all agenda files."
   (interactive "sOrg-files matching: ")
index 03c909f78ed9bff315719bfcf4b11865e629ffb5..dd96ed8e064a3c226e2ddc00c15a7d7ccd4638e5 100644 (file)
@@ -2926,24 +2926,25 @@ contextual information."
       ;; FIXME: The unnecessary spacing may still remain when a newline
       ;; is at a boundary between Org objects (e.g. italics markup
       ;; followed by newline).
-      (setq output
-            (with-temp-buffer
-              (save-match-data
-                (let ((leading (and (string-match (rx bos (1+ blank)) output)
-                                    (match-string 0 output)))
-                      (trailing (and (string-match (rx (1+ blank) eos) output)
-                                     (match-string 0 output))))
-                  (insert
-                   (substring
-                    output
-                    (length leading)
-                    (pcase (length trailing)
-                      (0 nil)
-                      (n (- n)))))
-                  ;; Unfill, retaining leading/trailing space.
-                  (let ((fill-column most-positive-fixnum))
-                    (fill-region (point-min) (point-max)))
-                  (concat leading (buffer-string) trailing))))))
+      (when (org-string-nw-p output) ; blank string needs not to be re-filled
+        (setq output
+              (with-temp-buffer
+                (save-match-data
+                  (let ((leading (and (string-match (rx bos (1+ blank)) output)
+                                      (match-string 0 output)))
+                        (trailing (and (string-match (rx (1+ blank) eos) output)
+                                       (match-string 0 output))))
+                    (insert
+                     (substring
+                      output
+                      (length leading)
+                      (pcase (length trailing)
+                        (0 nil)
+                        (n (- n)))))
+                    ;; Unfill, retaining leading/trailing space.
+                    (let ((fill-column most-positive-fixnum))
+                      (fill-region (point-min) (point-max)))
+                    (concat leading (buffer-string) trailing)))))))
     ;; Return value.
     output))