The tedious game of whack-a-mole with compiler warnings continues
* lisp/abbrev.el (edit-abbrevs-map): * lisp/emacs-lock.el (emacs-lock-from-exiting): * lisp/htmlfontify.el (hfy-optimisations): * lisp/ielm.el (inferior-emacs-lisp-mode-hook) (inferior-emacs-lisp-mode-map): * lisp/isearch.el (isearch-lazy-highlight-word): * lisp/select.el (x-select-enable-clipboard, x-select-enable-primary): * lisp/shell.el (shell-dirtrack-mode): * lisp/skeleton.el (skeleton-transformation, skeleton-filter): * lisp/startup.el (inhibit-splash-screen, inhibit-startup-message): * lisp/window.el (even-window-heights): * lisp/calendar/timeclock.el (timeclock-modeline-display): * lisp/cedet/semantic/db-mode.el (semanticdb-mode-hook) (semanticdb-global-mode): * lisp/emacs-lisp/edebug.el (gud-inhibit-global-bindings): * lisp/emacs-lisp/warnings.el (display-warning-minimum-level) (log-warning-minimum-level): * lisp/erc/erc-dcc.el (erc-dcc-chat-filter-hook): * lisp/gnus/nnspool.el (news-path): * lisp/org/org-agenda.el (org-agenda-search-view-search-words-only) (org-agenda-remove-tags-when-in-prefix) (org-agenda-align-tags-to-column, org-agenda-keymap): * lisp/org/org.el (org-special-ctrl-a) (org-log-state-notes-into-drawer) (org-agenda-multi-occur-extra-files): * lisp/progmodes/flymake-proc.el (flymake-err-line-patterns) (flymake-check-file-limit): * lisp/progmodes/make-mode.el (makefile-query-one-target-method): * lisp/progmodes/octave.el (inferior-octave-startup-hook): * lisp/progmodes/python.el (python-buffer) (python-preoutput-result): * lisp/progmodes/sql.el (sql-dialect): * lisp/textmodes/artist.el (artist-text-renderer): * lisp/textmodes/bibtex.el (bibtex-autokey-name-case-convert) (bibtex-autokey-titleword-case-convert): * lisp/textmodes/flyspell.el (flyspell-generic-check-word-p): * lisp/textmodes/ispell.el (ispell-format-word): * lisp/textmodes/rst.el (rst-preferred-decorations): * lisp/textmodes/sgml-mode.el (sgml-transformation): Move aliases before targets, to silence new compiler warning. * lisp/term/ns-win.el (ns-option-modifier, ns-right-option-modifier): Silence warning.
This commit is contained in:
parent
495963cfaf
commit
9c3eeba4db
30 changed files with 93 additions and 78 deletions
|
@ -68,6 +68,7 @@ Each element looks like (ALIAS . LEVEL) and defines ALIAS as
|
|||
equivalent to LEVEL. LEVEL must be defined in `warning-levels';
|
||||
it may not itself be an alias.")
|
||||
|
||||
(defvaralias 'display-warning-minimum-level 'warning-minimum-level)
|
||||
(defcustom warning-minimum-level :warning
|
||||
"Minimum severity level for displaying the warning buffer.
|
||||
If a warning's severity level is lower than this,
|
||||
|
@ -77,8 +78,8 @@ is not immediately displayed. See also `warning-minimum-log-level'."
|
|||
:type '(choice (const :emergency) (const :error)
|
||||
(const :warning) (const :debug))
|
||||
:version "22.1")
|
||||
(defvaralias 'display-warning-minimum-level 'warning-minimum-level)
|
||||
|
||||
(defvaralias 'log-warning-minimum-level 'warning-minimum-log-level)
|
||||
(defcustom warning-minimum-log-level :warning
|
||||
"Minimum severity level for logging a warning.
|
||||
If a warning severity level is lower than this,
|
||||
|
@ -89,7 +90,6 @@ because warnings not logged aren't displayed either."
|
|||
:type '(choice (const :emergency) (const :error)
|
||||
(const :warning) (const :debug))
|
||||
:version "22.1")
|
||||
(defvaralias 'log-warning-minimum-level 'warning-minimum-log-level)
|
||||
|
||||
(defcustom warning-suppress-log-types nil
|
||||
"List of warning types that should not be logged.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue