Commit 08ef5bd1 authored by Martin R. Albrecht's avatar Martin R. Albrecht

emacs: use empty string as buffer-name in indirect buffers

fixes #1743
parent 40dc125f
...@@ -289,7 +289,7 @@ Finds end of innermost nested class or method definition." ...@@ -289,7 +289,7 @@ Finds end of innermost nested class or method definition."
(set (make-local-variable 'end-of-defun-function) (set (make-local-variable 'end-of-defun-function)
#'cython-end-of-defun) #'cython-end-of-defun)
(set (make-local-variable 'compile-command) (set (make-local-variable 'compile-command)
(format cython-default-compile-format (shell-quote-argument buffer-file-name))) (format cython-default-compile-format (shell-quote-argument (or buffer-file-name ""))))
(set (make-local-variable 'add-log-current-defun-function) (set (make-local-variable 'add-log-current-defun-function)
#'cython-current-defun) #'cython-current-defun)
(add-hook 'which-func-functions #'cython-current-defun nil t) (add-hook 'which-func-functions #'cython-current-defun nil t)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment