We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e062ac7 commit e1e61aeCopy full SHA for e1e61ae
clojure-mode.el
@@ -1013,12 +1013,11 @@ Useful if a file has been renamed."
1013
(interactive)
1014
(let ((nsname (clojure-expected-ns)))
1015
(when nsname
1016
- (save-restriction
1017
- (save-excursion
1018
- (save-match-data
1019
- (if (clojure-find-ns)
1020
- (replace-match nsname nil nil nil 4)
1021
- (error "Namespace not found"))))))))
+ (save-excursion
+ (save-match-data
+ (if (clojure-find-ns)
+ (replace-match nsname nil nil nil 4)
+ (error "Namespace not found")))))))
1022
1023
(defun clojure-find-ns ()
1024
"Find the namespace of the current Clojure buffer."
0 commit comments