Quote buffer-file-name in prelude-open
This commit is contained in:
parent
4b907b9620
commit
a569d45a78
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ With a prefix ARG always prompt for command to use."
|
|||
((and (not arg) (member system-type '(gnu gnu/linux gnu/kfreebsd))) "xdg-open")
|
||||
(t (read-shell-command "Open current file with: ")))
|
||||
" "
|
||||
buffer-file-name))))
|
||||
(shell-quote-argument buffer-file-name)))))
|
||||
|
||||
(defun prelude-buffer-mode (buffer-or-name)
|
||||
"Retrieve the `major-mode' of BUFFER-OR-NAME."
|
||||
|
|
Loading…
Reference in a new issue