From d840d907ce28a697efa3a71f77e074b6b1c395cb Mon Sep 17 00:00:00 2001 From: JD Smith Date: Sun, 24 Jan 2010 21:14:33 -0500 Subject: [PATCH] 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 8533b31..3c27af4 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)