org-compat.el (org-move-to-column): Bugfix

* org-compat.el (org-move-to-column): Fix bug about ignoring
bracket links visibility status in tables with S-RET.

Thanks to Michael Brand for reporting this.
This commit is contained in:
Bastien Guerry 2014-03-12 19:42:07 +01:00
parent 9323857411
commit b32306279b
1 changed files with 5 additions and 2 deletions

View File

@ -344,9 +344,12 @@ Works on both Emacs and XEmacs."
(indent-line-to column)))
(defun org-move-to-column (column &optional force buffer ignore-invisible)
(let ((buffer-invisibility-spec ignore-invisible))
(let ((buffer-invisibility-spec
(and ignore-invisible
(member '(org-link) buffer-invisibility-spec))))
(if (featurep 'xemacs)
(org-xemacs-without-invisibility (move-to-column column force buffer))
(org-xemacs-without-invisibility
(move-to-column column force buffer))
(move-to-column column force))))
(defun org-get-x-clipboard-compat (value)