Merge branch 'maint'

Conflicts:
	contrib/lisp/ox-koma-letter.el
This commit is contained in:
Bastien Guerry 2014-02-05 16:16:36 +01:00
commit 13b5123da1
2 changed files with 9 additions and 7 deletions

View File

@ -70,8 +70,6 @@
;; - AUTHOR: Default to user-full-name but may be disabled.
;; (See also `org-koma-letter-author'),
;; - EMAIL: Same as AUTHOR. (see also `org-koma-letter-email'),
;; - TITLE: May be the letter title or subject depending on
;; `org-koma-letter-prefer-subject'.
;;
;; Headlines are in general ignored. However, headlines with special
;; tags can be used for specified contents like postscript (ps),
@ -260,9 +258,13 @@ This option can also be set with the OPTIONS keyword, e.g.:
:group 'org-export-koma-letter)
(defcustom org-koma-letter-use-backaddress nil
<<<<<<< HEAD
"Non-nil prints return address in line above to address.
This option can also be set with the OPTIONS keyword, e.g.:
\"backaddress:t\"."
=======
"Print return address in line above to address."
>>>>>>> maint
:group 'org-export-koma-letter
:type 'boolean)

View File

@ -5230,11 +5230,11 @@ Support for group tags is controlled by the option
(defun org-file-contents (file &optional noerror)
"Return the contents of FILE, as a string."
(if (or (not file)
(not (file-readable-p file)))
(if noerror
(message "Cannot read file \"%s\"" file)
(error "Cannot read file \"%s\"" file))
(if (or (not file) (not (file-readable-p file)))
(if (not noerror)
(error "Cannot read file \"%s\"" file)
(message "Cannot read file \"%s\"" file)
"")
(with-temp-buffer
(insert-file-contents file)
(buffer-string))))