Browse Source

Merge branch 'maint'

Bastien Guerry 12 năm trước cách đây
mục cha
commit
4b1fcd04e8
1 tập tin đã thay đổi với 3 bổ sung5 xóa
  1. 3 5
      lisp/org-mobile.el

+ 3 - 5
lisp/org-mobile.el

@@ -626,12 +626,10 @@ The table of checksums is written to the file mobile-checksums."
 	  (delete-region (point) (point-at-eol)))
 	 ((get-text-property (point) 'org-agenda-structural-header)
 	  (setq in-date nil)
-	  (setq app (get-text-property (point)
-				       'org-agenda-title-append))
-	  (setq short (get-text-property (point)
-					 'short-heading))
+	  (setq app (get-text-property (point) 'org-agenda-title-append))
+	  (setq short (get-text-property (point) 'short-heading))
 	  (when (and short (looking-at ".+"))
-	    (replace-match short)
+	    (replace-match short nil t)
 	    (beginning-of-line 1))
 	  (when app
 	    (end-of-line 1)