forked from mirrors/org-mode
Merge branch 'bugfix' into emacs-sync
This commit is contained in:
commit
a16538f7c5
10
doc/Makefile
10
doc/Makefile
|
@ -27,11 +27,17 @@ guide:: orgguide.texi org-version.inc
|
|||
../mk/guidesplit.pl $@/*
|
||||
endif
|
||||
|
||||
org.texi orgguide.texi: org-manual.org org-guide.org
|
||||
org.texi: org-manual.org
|
||||
$(BATCH) \
|
||||
--eval '(add-to-list `load-path "../lisp")' \
|
||||
--eval '(load "../mk/org-fixup.el")' \
|
||||
--eval '(org-make-manuals)'
|
||||
--eval '(org-make-manual)'
|
||||
|
||||
orgguide.texi: org-guide.org
|
||||
$(BATCH) \
|
||||
--eval '(add-to-list `load-path "../lisp")' \
|
||||
--eval '(load "../mk/org-fixup.el")' \
|
||||
--eval '(org-make-guide)'
|
||||
|
||||
org-version.inc: org.texi
|
||||
@echo "org-version: $(ORGVERSION) ($(GITVERSION))"
|
||||
|
|
|
@ -284,14 +284,25 @@ then create one. Return the initialized session. The current
|
|||
(defun org-babel-gnuplot-table-to-data (table data-file params)
|
||||
"Export TABLE to DATA-FILE in a format readable by gnuplot.
|
||||
Pass PARAMS through to `orgtbl-to-generic' when exporting TABLE."
|
||||
(require 'ox-org)
|
||||
(with-temp-file data-file
|
||||
(insert (let ((org-babel-gnuplot-timestamp-fmt
|
||||
(or (plist-get params :timefmt) "%Y-%m-%d-%H:%M:%S")))
|
||||
(orgtbl-to-generic
|
||||
table
|
||||
(org-combine-plists
|
||||
'(:sep "\t" :fmt org-babel-gnuplot-quote-tsv-field :raw t :backend ascii)
|
||||
params)))))
|
||||
(replace-regexp-in-string
|
||||
;; org export backend adds "|" at the beginning/end of
|
||||
;; the table lines. Strip those.
|
||||
"^|\\(.+\\)|$"
|
||||
"\\1"
|
||||
(orgtbl-to-generic
|
||||
table
|
||||
(org-combine-plists
|
||||
'( :sep "\t" :fmt org-babel-gnuplot-quote-tsv-field
|
||||
;; Two setting below are needed to make :fmt work.
|
||||
:raw t
|
||||
;; Use `org', not `ascii' because `ascii' may
|
||||
;; sometimes mishandle quoted strings.
|
||||
:backend org)
|
||||
params))))))
|
||||
data-file)
|
||||
|
||||
(provide 'ob-gnuplot)
|
||||
|
|
|
@ -1747,7 +1747,7 @@ Optional argument N tells to change by that many units."
|
|||
(org-clock-timestamps-change 'up n))
|
||||
|
||||
(defun org-clock-timestamps-down (&optional n)
|
||||
"Increase CLOCK timestamps at cursor.
|
||||
"Decrease CLOCK timestamps at cursor.
|
||||
Optional argument N tells to change by that many units."
|
||||
(interactive "P")
|
||||
(org-clock-timestamps-change 'down n))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
;; Homepage: https://orgmode.org
|
||||
;; Package-Requires: ((emacs "25.1"))
|
||||
|
||||
;; Version: 9.5.1
|
||||
;; Version: 9.5.2
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
;;
|
||||
|
@ -5114,7 +5114,6 @@ stacked delimiters is N. Escaping delimiters is not possible."
|
|||
'(invisible t))
|
||||
(add-text-properties (match-beginning 3) (match-end 3)
|
||||
'(invisible t)))
|
||||
(goto-char (match-end 0))
|
||||
(throw :exit t))))))))
|
||||
|
||||
(defun org-emphasize (&optional char)
|
||||
|
|
|
@ -27,6 +27,21 @@
|
|||
(require 'autoload)
|
||||
(require 'org-compat "org-compat.el")
|
||||
|
||||
(defun org-make-manual ()
|
||||
"Generate the Texinfo file out of the Org manual."
|
||||
(require 'ox-texinfo)
|
||||
(find-file "../doc/org-manual.org")
|
||||
(org-texinfo-export-to-texinfo))
|
||||
|
||||
(defun org-make-guide ()
|
||||
"Generate the Texinfo file out of the Org guide."
|
||||
(require 'ox-texinfo)
|
||||
(find-file "../doc/org-guide.org")
|
||||
(org-texinfo-export-to-texinfo))
|
||||
|
||||
(make-obsolete 'org-make-manuals
|
||||
"use org-make-manual and org-make-guide."
|
||||
"9.6")
|
||||
(defun org-make-manuals ()
|
||||
"Generate the Texinfo files out of Org manuals."
|
||||
(require 'ox-texinfo)
|
||||
|
|
Loading…
Reference in New Issue