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:
parent
c0a779bd9d
commit
07c77bc4dc
|
@ -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
|
||||
|
|
|
@ -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.")
|
||||
|
|
Loading…
Reference in New Issue