dotfiles/.emacs.d/elpa/csharp-mode-20170927.816/csharp-mode-autoloads.el

62 lines
1.6 KiB
EmacsLisp
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;;; csharp-mode-autoloads.el --- automatically extracted autoloads
;;
;;; Code:
(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path))))
;;;### (autoloads nil "csharp-mode" "csharp-mode.el" (23031 45947
;;;;;; 0 0))
;;; Generated autoloads from csharp-mode.el
(add-to-list 'auto-mode-alist '("\\.cs$" . csharp-mode))
(autoload 'csharp-mode "csharp-mode" "\
Major mode for editing C# code.
The mode provides fontification and indent for C# syntax, as well
as some other handy features.
At mode startup, there are two interesting hooks that run:
`prog-mode-hook' is run with no args, then `csharp-mode-hook' is run after
that, also with no args.
To run your own logic after csharp-mode starts, do this:
(defun my-csharp-mode-fn ()
\"my function that runs when csharp-mode is initialized for a buffer.\"
(turn-on-font-lock)
(turn-on-auto-revert-mode) ;; helpful when also using Visual Studio
(setq indent-tabs-mode nil) ;; tabs are evil
....your own code here...
)
(add-hook 'csharp-mode-hook 'my-csharp-mode-fn t)
The function above is just a suggestion.
Imenu Integration
===============================
Check the menubar for menu entries for Imenu; it is labelled
\"Index\".
The Imenu index gets computed when the file is .cs first opened and loaded.
This may take a moment or two. If you don't like this delay and don't
use Imenu, you can turn this off with the variable `csharp-want-imenu'.
Key bindings:
\\{csharp-mode-map}
\(fn)" t nil)
;;;***
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; End:
;;; csharp-mode-autoloads.el ends here