branch: externals/idlwave commit d840d907ce28a697efa3a71f77e074b6b1c395cb Author: JD Smith <jdtsm...@gmail.com> Commit: JD Smith <jdtsm...@gmail.com>
Use no-properties for buffer-substring --- idlw-shell.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/idlw-shell.el b/idlw-shell.el index 8533b31ee7..3c27af4526 100644 --- a/idlw-shell.el +++ b/idlw-shell.el @@ -2339,8 +2339,7 @@ overlays." (setq idlwave-shell-calling-stack-index 0) (idlwave-shell-send-command "help,/trace" - '(idlwave-shell-display-line - (idlwave-shell-pc-frame)) + '(idlwave-shell-display-line (idlwave-shell-pc-frame)) hide) (idlwave-shell-bp-query)) @@ -3034,7 +3033,7 @@ idlw-shell-examine-alist via mini-buffer shortcut key." (when (and beg end) (if (and process-mark (> process-mark beg) (< process-mark end)) (setq beg (marker-position process-mark))) - (setq expr (buffer-substring beg end))) + (setq expr (buffer-substring-no-properties beg end))) ;; Show the overlay(s) and attach any necessary hooks and filters (when (and beg end idlwave-shell-expression-overlay)