Sfoglia il codice sorgente

Merge branch 'maint'

Conflicts:
	contrib/lisp/ox-koma-letter.el
Bastien Guerry 11 anni fa
parent
commit
13b5123da1
2 ha cambiato i file con 9 aggiunte e 7 eliminazioni
  1. 4 2
      contrib/lisp/ox-koma-letter.el
  2. 5 5
      lisp/org.el

+ 4 - 2
contrib/lisp/ox-koma-letter.el

@@ -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)
 

+ 5 - 5
lisp/org.el

@@ -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))))