Browse Source

Bugfix: Add explamation mark to post-emphasis characters

Reported by Baoqiu Cui.
Carsten Dominik 16 years ago
parent
commit
19f700a606
2 changed files with 6 additions and 1 deletions
  1. 5 0
      lisp/ChangeLog
  2. 1 1
      lisp/org.el

+ 5 - 0
lisp/ChangeLog

@@ -1,3 +1,8 @@
+2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
+
+	* org.el (org-emphasis-regexp-components): Add the exxclamation
+	mark to the post-emphasis characters.
+
 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
 
 	* org.el (org-read-date-minibiffer-septup-hook): New hook.

+ 1 - 1
lisp/org.el

@@ -2628,7 +2628,7 @@ Changing this variable requires a restart of Emacs to take effect."
 		    "\\([" post  "]\\|$\\)")))))
 
 (defcustom org-emphasis-regexp-components
-  '(" \t('\"" "- \t.,:?;'\")" " \t\r\n,\"'" "." 1)
+  '(" \t('\"" "- \t.,:!?;'\")" " \t\r\n,\"'" "." 1)
   "Components used to build the regular expression for emphasis.
 This is a list with 6 entries.  Terminology:  In an emphasis string
 like \" *strong word* \", we call the initial space PREMATCH, the final