[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13724: Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)'
From: |
Stefan Monnier |
Subject: |
bug#13724: Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)' |
Date: |
Fri, 15 Feb 2013 18:50:02 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> ,-------------------------
> | M-: (org-mark-element) RET
> `-------------------------
> moves point to the beginning of source-block (body) and returns the
> position of point without (visibly) marking the source-block body.
Indeed, thank you. Should be fixed now, thanks to the patch below,
Stefan
--- lisp/simple.el 2013-02-12 04:46:18 +0000
+++ lisp/simple.el 2013-02-15 17:35:00 +0000
@@ -1328,7 +1327,8 @@
(setq debug-on-error new-value))))
(let ((print-length eval-expression-print-length)
- (print-level eval-expression-print-level))
+ (print-level eval-expression-print-level)
+ (deactivate-mark))
(if eval-expression-insert-value
(with-no-warnings
(let ((standard-output (current-buffer)))