Commit c5a20868 authored by scoder's avatar scoder Committed by GitHub

Merge pull request #1795 from malb/fix-1743

emacs: use "" as buffer name in indirect buffers
parents 1dba6bf2 08ef5bd1
...@@ -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