aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey V. Firsov <intramurz@gmail.com>2021-12-11 17:42:16 +0300
committerSergey V. Firsov <intramurz@gmail.com>2021-12-11 17:42:16 +0300
commitfa679a927beeac45017842a5c531c70fd596a041 (patch)
treeeaba768ccfdcc9e3a9060b953ff73ac7d7c56b67
parentb84b4e2e3efd3455bcdebb9efb4b07a4cec94ebb (diff)
Fix restore of multibyte buffer names when loading state from file.
Restore names as they were saved in the file, without backslash sequences for multibyte characters.
-rw-r--r--perspective.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/perspective.el b/perspective.el
index 8bf4572..a22c194 100644
--- a/perspective.el
+++ b/perspective.el
@@ -1863,7 +1863,7 @@ restored."
(frame-count 0)
(state-complete (read
(with-temp-buffer
- (insert-file-contents-literally file)
+ (insert-file-contents file)
(buffer-string)))))
;; open all files in a temporary perspective to avoid polluting "main"
(persp-switch tmp-persp-name)