aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'misc/eselect-mode.el')
-rw-r--r--misc/eselect-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/eselect-mode.el b/misc/eselect-mode.el
index 06843df..d6fc68e 100644
--- a/misc/eselect-mode.el
+++ b/misc/eselect-mode.el
@@ -143,7 +143,7 @@
;;;###autoload
(define-derived-mode eselect-mode sh-mode "Eselect"
"Major mode for .eselect files."
- (add-hook 'write-contents-functions 'eselect-mode-before-save t t)
+ (add-hook 'write-contents-functions #'eselect-mode-before-save t t)
(sh-set-shell "bash")
(setq tab-width 4)
(setq indent-tabs-mode t))
@@ -152,7 +152,7 @@
"Add `eselect-mode' font-lock keywords for the current buffer."
(font-lock-add-keywords nil eselect-mode-font-lock-keywords))
-(add-hook 'eselect-mode-hook 'eselect-mode-add-font-lock)
+(add-hook 'eselect-mode-hook #'eselect-mode-add-font-lock)
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.eselect\\'" . eselect-mode))