Emacs: Muffle defvaralias warnings.
parent
68b583a28b
commit
003bdbe178
|
@ -21,7 +21,7 @@
|
|||
;; with eww.
|
||||
(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.
|
||||
;;; Useless in quasi-monochrome.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; Lua
|
||||
|
||||
(defvaralias 'lua-indent-level 'tab-width)
|
||||
(with-no-warnings (defvaralias 'lua-indent-level 'tab-width))
|
||||
|
||||
(defun ambrevar/lua-set-compiler ()
|
||||
(setq compile-command (concat lua-default-application " " (shell-quote-argument buffer-file-name))))
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;;; Sh
|
||||
|
||||
(defvaralias 'sh-basic-offset 'tab-width)
|
||||
(defvaralias 'sh-indentation 'sh-basic-offset)
|
||||
(with-no-warnings (defvaralias 'sh-basic-offset 'tab-width))
|
||||
(with-no-warnings (defvaralias 'sh-indentation 'sh-basic-offset))
|
||||
|
||||
(setq sh-indent-comment t)
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
|
||||
;;; Indentation
|
||||
(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
|
||||
|
|
Loading…
Reference in New Issue