summaryrefslogtreecommitdiff
path: root/elchemy-functions.el
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2024-06-09 22:56:54 -0700
committerChristian Cunningham <cc@localhost>2024-06-09 22:56:54 -0700
commitc8be5ff4118890d83f3cf0d3e376b1baab6d524c (patch)
tree28cf6eaf2316fd56838bd4a33bfb16e160f93d38 /elchemy-functions.el
parentf4694f9ab33ce6ea2e41458d6371d95f0f5e4c7b (diff)
Rename variables
Diffstat (limited to 'elchemy-functions.el')
-rw-r--r--elchemy-functions.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/elchemy-functions.el b/elchemy-functions.el
index 296e1e9..465034b 100644
--- a/elchemy-functions.el
+++ b/elchemy-functions.el
@@ -2,9 +2,9 @@
(interactive)
(save-excursion
(if (equal mark-active nil) (mark-word))
- (setq nm/rib/current-word (buffer-substring-no-properties (mark) (point)))
- (setq nm/rib/old-string (read-string "OLD string:\n" nm/rib/current-word))
- (setq nm/rib/new-string (read-string "NEW string:\n" nm/rib/old-string))
- (query-replace nm/rib/old-string nm/rib/new-string nil (point-min) (point-max))))
+ (setq elchemy/rib/current-word (buffer-substring-no-properties (mark) (point)))
+ (setq elchemy/rib/old-string (read-string "OLD string:\n" elchemy/rib/current-word))
+ (setq elchemy/rib/new-string (read-string "NEW string:\n" elchemy/rib/old-string))
+ (query-replace elchemy/rib/old-string elchemy/rib/new-string nil (point-min) (point-max))))
(provide 'elchemy-functions)