Emacs: Muffle defvaralias warnings.

master
Pierre Neidhardt 2021-03-12 10:29:37 +01:00
parent 68b583a28b
commit 003bdbe178
4 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@
;; with eww. ;; with eww.
(add-to-list 'browse-url-browser-function '("file:///.*/gtk-doc/html/.*" . w3m-browse-url))) (add-to-list 'browse-url-browser-function '("file:///.*/gtk-doc/html/.*" . w3m-browse-url)))
(defvaralias 'c-basic-offset 'tab-width) (with-no-warnings (defvaralias 'c-basic-offset 'tab-width))
;;; C additional faces. ;;; C additional faces.
;;; Useless in quasi-monochrome. ;;; Useless in quasi-monochrome.

View File

@ -1,6 +1,6 @@
;;; Lua ;;; Lua
(defvaralias 'lua-indent-level 'tab-width) (with-no-warnings (defvaralias 'lua-indent-level 'tab-width))
(defun ambrevar/lua-set-compiler () (defun ambrevar/lua-set-compiler ()
(setq compile-command (concat lua-default-application " " (shell-quote-argument buffer-file-name)))) (setq compile-command (concat lua-default-application " " (shell-quote-argument buffer-file-name))))

View File

@ -1,7 +1,7 @@
;;; Sh ;;; Sh
(defvaralias 'sh-basic-offset 'tab-width) (with-no-warnings (defvaralias 'sh-basic-offset 'tab-width))
(defvaralias 'sh-indentation 'sh-basic-offset) (with-no-warnings (defvaralias 'sh-indentation 'sh-basic-offset))
(setq sh-indent-comment t) (setq sh-indent-comment t)

View File

@ -116,7 +116,7 @@
;;; Indentation ;;; Indentation
(setq-default tab-width 2) (setq-default tab-width 2)
(defvaralias 'standard-indent 'tab-width) (with-no-warnings (defvaralias 'standard-indent 'tab-width))
(setq-default indent-tabs-mode t) (setq-default indent-tabs-mode t)
(setq (setq