Commit graph

37 commits

Author SHA1 Message Date
Bastien Guerry 2c6dce973b Added hooks in org-publish.el.
There are now two hooks:
`org-publish-before-export-hook'
`org-publish-after-export-hook'.

`org-publish-org-to' deal with killing buffers (instead of
`org-publish-file')
2008-03-10 09:34:06 +00:00
Bastien Guerry d9e7b39a7f Kill buffers after publication.
Whether a buffer is created or not depends on publishing functions such
as `org-export-as-html' and the like.  But not all such functions create
a new buffer (e.g. `org-publish-attachment'), so we need to delete the
buffer if it differs from the last buffer we we're in before export.
2008-03-07 11:57:14 +00:00
Bastien Guerry 8b527d4a6d Fixing typo. 2008-03-04 01:19:03 +00:00
Bastien Guerry 1336cd8999 Use expand-file-name' instead of file-true-name'.
Also remove unused alias for `dired-files-attributes'.
2008-03-04 01:12:05 +00:00
Bastien Guerry 184e4e1fa3 Deleted trailing blank spaces. 2008-03-04 00:54:40 +00:00
Bastien Guerry 9a2741f9ad Bugfix for `org-publish-get-files'.
`plist-get' was called with the wrong argument, thus causing an
error in old Emacsen where `plist-get' was not safe.
2008-03-04 00:46:38 +00:00
Bastien Guerry cd52b4e457 Rename org-publish-delete-duplicates' to org-publish-delete-dups'.
`org-publish-delete-duplicates' was misleading because of the
distinction between `delete-dups' and `delete-duplicates'.

Also fix a bug in the interaction of `org-publish' and
`org-publish-current-project'.
2008-03-04 00:22:46 +00:00
Bastien Guerry 6bbe3c549a Added alias `org-publish-dired-files-attributes.'
As far as I can tell `dired-files-attributes' is not part of Emacs 21.4.
2008-03-03 23:55:39 +00:00
Bastien Guerry bc59617af7 Added the alias `org-publish-delete-duplicates'.
In (< emacs-major-version 2), there is no `delete-dups'.
So we use this alias, either calling `delete-dups' or
using a routine copyied from subr.el in Emacs 22+.
2008-03-03 23:17:05 +00:00
Bastien Guerry 571b8c0be2 Silence the byte-compiler for org-publish.el. 2008-03-03 10:12:51 +00:00
Bastien Guerry 8ea076e2de Updated org-publish.el (now version 1.81)
Updated the ChangeLog and the manual accordingly.
2008-03-03 10:01:36 +00:00
Bastien Guerry 4dcecb97bf More cleaning. 2008-03-02 22:49:28 +00:00
Bastien Guerry eda5a993ca *** empty log message *** 2008-03-02 19:16:21 +00:00
Bastien Guerry b05bc10e67 Cleaned up code. 2008-03-02 14:14:52 +00:00
Bastien Guerry 837c81ce51 Use alist instead of a hashtable. 2008-03-02 01:02:41 +00:00
Bastien Guerry 960449c9e9 Cleaned up the buffer. 2008-03-02 00:52:52 +00:00
Bastien Guerry bd172412fa Added support for recursive publication of files. 2008-03-01 02:42:28 +00:00
Bastien Guerry 7a75a4d91e Cleaned up error messages: don't use a period at the end.
Cleaned up some unfinish comment.
Replaced `let*' by `let' in `org-publish-current-project'.
2008-02-28 00:23:06 +00:00
Carsten Dominik c7b8cc8cb1 Another bug fix in org-publish, related to the FORCE argument. 2008-02-27 16:14:09 +01:00
Carsten Dominik 24282ebf74 Fixed bug in org-publish.el, relating to org-publish-use-timestamp-flag. 2008-02-26 15:59:20 +01:00
Carsten Dominik f6dc99bd9b Fix org-publish file timestamps for Windows.
This was a patch by Tokuya Kameshima.
2008-02-05 17:21:34 +01:00
Carsten Dominik 1fb725c45d Release 5.19 2008-01-31 11:38:46 +01:00
Carsten Dominik 218feee70e Release 5.18 2008-01-31 11:38:36 +01:00
Carsten Dominik 1bf1a4d4b2 Release 5.13g 2008-01-31 11:37:28 +01:00
Carsten Dominik 4019309baf Release 5.11 2008-01-31 11:36:29 +01:00
Carsten Dominik 70b6cc5da4 Release 5.10a 2008-01-31 11:36:18 +01:00
Carsten Dominik d922cfd878 Release 5.05 2008-01-31 11:35:40 +01:00
Carsten Dominik 56afdc7081 Release 4.78 2008-01-31 11:34:50 +01:00
Carsten Dominik 388f9e690a Release 4.76 2008-01-31 11:34:42 +01:00
Carsten Dominik 41887136c1 Release 4.71 2008-01-31 11:34:26 +01:00
Carsten Dominik d45806cc97 Release 4.50 2008-01-31 11:32:41 +01:00
Carsten Dominik af0cd37b63 Release 4.48 2008-01-31 11:32:35 +01:00
Carsten Dominik 8fd900c684 Release 4.40 2008-01-31 11:32:08 +01:00
Carsten Dominik 2ff8fc1133 Release 4.37 2008-01-31 11:32:03 +01:00
Carsten Dominik 9cf9c9f451 Release 4.36 2008-01-31 11:31:59 +01:00
Carsten Dominik 7cde0aa391 Release 4.33 2008-01-31 11:31:51 +01:00
Carsten Dominik 9b9f2f6070 Release 4.30 2008-01-31 11:31:37 +01:00