Skip to content

Commit

Permalink
Use no-properties for buffer-substring
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtsmith committed Jan 26, 2010
1 parent 8dd432c commit d840d90
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions idlw-shell.el
Expand Up @@ -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))

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d840d90

Please sign in to comment.