Skip to content

Commit e41d906

Browse files
author
heller
committed
(common-lisp-hyperspec): Strip all text properties from the
symbol-at-point to avoid problems with read-only text. Patch from Paul Collins <[email protected]>.
1 parent a1c6065 commit e41d906

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

hyperspec.el

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,10 @@ If you copy the HyperSpec to another location, customize the variable
8686
(interactive (list (let* ((symbol-at-point (thing-at-point 'symbol))
8787
(stripped-symbol
8888
(and symbol-at-point
89-
(downcase
90-
(common-lisp-hyperspec-strip-cl-package
91-
symbol-at-point)))))
89+
(substring-no-properties
90+
(downcase
91+
(common-lisp-hyperspec-strip-cl-package
92+
symbol-at-point))))))
9293
(if (and stripped-symbol
9394
(intern-soft stripped-symbol
9495
common-lisp-hyperspec-symbols))

0 commit comments

Comments
 (0)