瀏覽代碼

Improve subject line of bug report

Carsten Dominik 15 年之前
父節點
當前提交
2d8c5af308
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      lisp/org.el

+ 5 - 1
lisp/org.el

@@ -16066,7 +16066,11 @@ what in fact did happen.  You don't know how to make a good report?  See
      http://orgmode.org/manual/Feedback.html#Feedback
 
 Your bug report will be posted to the Org-mode mailing list.
-------------------------------------------------------------------------")))
+------------------------------------------------------------------------")
+    (save-excursion
+      (if (re-search-backward "^\\(Subject: \\)\\(Org-mode version.*?\\);[ \t]*\\(.*\\)" nil t)
+	  (replace-match "\\1Bug: \\3 [\\2]")))))
+    
 
 (defun org-install-agenda-files-menu ()
   (let ((bl (buffer-list)))