diff options
author | Bastien Guerry <bzg@altern.org> | 2014-03-12 19:42:07 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2014-03-12 19:42:07 +0100 |
commit | b32306279bebe1f839054b015d9394f908466ad3 (patch) | |
tree | 93b12885a98c5b9ce8f4611d812b92445779db65 | |
parent | 9323857411587db10b51621bc1fb5370e527866d (diff) | |
download | org-mode-b32306279bebe1f839054b015d9394f908466ad3.tar.gz |
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.
-rw-r--r-- | lisp/org-compat.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 1553e4f..9837e13 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -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) |