aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/pg-assoc.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2007-08-14 14:12:40 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2007-08-14 14:12:40 +0000
commitfecff511bb9fd00267ad9d0d547a64e012480908 (patch)
tree97a4f13ce94699f19241d79e34a7b5c2397ec9b8 /generic/pg-assoc.el
parent92bf338edd846931e952507b369179c0f67a75ed (diff)
Add support for sending back literal commands reusing PBP markup mechanisms.
Diffstat (limited to 'generic/pg-assoc.el')
-rw-r--r--generic/pg-assoc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/pg-assoc.el b/generic/pg-assoc.el
index deb40e56..546aae3b 100644
--- a/generic/pg-assoc.el
+++ b/generic/pg-assoc.el
@@ -95,8 +95,8 @@ If pg-subterm-first-special-char is unset, return STRING unchanged."
(goto-char start)
(proof-replace-string (char-to-string pg-subterm-end-char) "")
(goto-char start)
- (if pg-topterm-char
- (proof-replace-string (char-to-string pg-topterm-char) ""))))))
+ (if pg-topterm-regexp
+ (proof-replace-regexp pg-topterm-regexp ""))))))
(defun pg-assoc-strip-subterm-markup-buf-old (start end)