summaryrefslogtreecommitdiffstats
path: root/scripts/kde-emacs/kde-emacs-compat.el
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kde-emacs/kde-emacs-compat.el')
-rw-r--r--scripts/kde-emacs/kde-emacs-compat.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kde-emacs/kde-emacs-compat.el b/scripts/kde-emacs/kde-emacs-compat.el
index 1ff1fe7a..72d8c2b9 100644
--- a/scripts/kde-emacs/kde-emacs-compat.el
+++ b/scripts/kde-emacs/kde-emacs-compat.el
@@ -46,7 +46,7 @@ Otherwise treat `\\' in NEWTEXT as special:
(buffer-string))
(let ((start 0) newstr)
(while (string-match regexp str start)
- (setq newstr (replace-match newtext t literal str)
+ (set newstr (replace-match newtext t literal str)
start (+ (match-end 0) (- (length newstr) (length str)))
str newstr))
str)))