.emacs-my
changeset 1771 e60fb6cd150e
parent 1770 2b93801abc3c
child 1772 d97be992a1f9
equal deleted inserted replaced
1770:2b93801abc3c 1771:e60fb6cd150e
  2691 ;; (setq erc-kill-server-buffer-on-quit t)
  2691 ;; (setq erc-kill-server-buffer-on-quit t)
  2692 
  2692 
  2693 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2693 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2694 (message "devel, programming")
  2694 (message "devel, programming")
  2695 
  2695 
  2696 (which-func-mode 1)
  2696 ;; The mode displays current function name in status line.
       
  2697 ;; In Emacs 28 it loads files referenced by diff-mode, polluting buffer list & recentf, and significantly slowing Emacs in Cygwin.
       
  2698 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62749
       
  2699 ;; https://emacs.stackexchange.com/questions/76728/modern-emacs-keeps-opening-related-file-from-vc-diff-buffer/
       
  2700 ;; (which-func-mode 1)
  2697 
  2701 
  2698 (add-to-list 'auto-mode-alist '("\\.cu$" . c-mode))
  2702 (add-to-list 'auto-mode-alist '("\\.cu$" . c-mode))
  2699 
  2703 
  2700 (defun my--c++-header-file-p ()
  2704 (defun my--c++-header-file-p ()
  2701   "Return non-nil, if in a C++ header."
  2705   "Return non-nil, if in a C++ header."