0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-20 08:26:29 +00:00

Make S-SPC work in orgtbl-mode.

S-SPC did lead to an error in orgtbl-mode, because there is no binding
to this key.  Now orgtbl-self-insert-command falls back on calling
self-insert-command for such cases.
This commit is contained in:
Carsten Dominik 2008-11-26 08:30:21 +01:00
parent c0a779bd9d
commit 07c77bc4dc
2 changed files with 10 additions and 6 deletions

View file

@ -1,5 +1,8 @@
2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
* org-table.el (orgtbl-self-insert-command): Make S-SPC work in
orgtbl-mode.
* org-exp.el (org-export-as-ascii): Remove the handling of
targets.
(org-export-ascii-preprocess): Handle targets already in this

View file

@ -3492,12 +3492,13 @@ overwritten, and the table is not marked as requiring realignment."
(self-insert-command N))
(setq org-table-may-need-update t)
(let (orgtbl-mode a)
(call-interactively
(key-binding
(or (and (listp function-key-map)
(setq a (assoc last-input-event function-key-map))
(cdr a))
(vector last-input-event)))))))
(call-interactively
(or (key-binding
(or (and (listp function-key-map)
(setq a (assoc last-input-event function-key-map))
(cdr a))
(vector last-input-event)))
'self-insert-command)))))
(defvar orgtbl-exp-regexp "^\\([-+]?[0-9][0-9.]*\\)[eE]\\([-+]?[0-9]+\\)$"
"Regular expression matching exponentials as produced by calc.")