Make org-transpose-words use text-mode-syntax-table

* lisp/org.el (org-mode-transpose-word-syntax-table): Make this table
  inherit from `text-mode-syntax-table'.
This commit is contained in:
Eric Abrahamsen 2014-11-03 11:22:13 -08:00 committed by Nicolas Goaziou
parent c78a62c918
commit f1cc6dce3b
1 changed files with 1 additions and 1 deletions

View File

@ -5544,7 +5544,7 @@ The following commands are available:
("8.2.6" . "24.4"))) ("8.2.6" . "24.4")))
(defvar org-mode-transpose-word-syntax-table (defvar org-mode-transpose-word-syntax-table
(let ((st (make-syntax-table))) (let ((st (make-syntax-table text-mode-syntax-table)))
(mapc (lambda(c) (modify-syntax-entry (mapc (lambda(c) (modify-syntax-entry
(string-to-char (car c)) "w p" st)) (string-to-char (car c)) "w p" st))
org-emphasis-alist) org-emphasis-alist)