Use consistent style for internal names.
--- a/.emacs-my Tue Nov 10 13:04:25 2015 +0200
+++ b/.emacs-my Tue Nov 10 13:06:57 2015 +0200
@@ -979,7 +979,7 @@
(icomplete-mode 1)
(setq icomplete-with-completion-tables t)
-(defun my--is-file-large ()
+(defun my--large-file-p ()
"If buffer too large and my cause performance issue."
(< large-file-warning-threshold (buffer-size)))
@@ -995,7 +995,7 @@
(set (make-variable-buffer-local 'line-number-mode) nil)
(set (make-variable-buffer-local 'column-number-mode) nil) )
-(add-to-list 'magic-mode-alist (cons #'my--is-file-large #'my-large-file-mode))
+(add-to-list 'magic-mode-alist (cons #'my--large-file-p #'my-large-file-mode))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(message "bookmark")
@@ -2201,7 +2201,7 @@
(add-to-list 'auto-mode-alist '("\\.cu$" . c-mode))
-(defun my-c++-header-file-p ()
+(defun my--c++-header-file-p ()
"Return non-nil, if in a C++ header."
(and (string-match "\\.h$"
(or (buffer-file-name)
@@ -2210,7 +2210,7 @@
(re-search-forward "\\_<class\\_>" nil t))))
(when (>= emacs-major-version 22)
- (add-to-list 'magic-mode-alist '(my-c++-header-file-p . c++-mode))
+ (add-to-list 'magic-mode-alist '(my--c++-header-file-p . c++-mode))
)
(setq-default comment-style (quote indent))