aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes/bibtex.el
diff options
context:
space:
mode:
authorGlenn Morris2018-04-20 18:34:39 -0400
committerGlenn Morris2018-04-20 18:34:39 -0400
commit9c3eeba4db26ddaeead100beea7a96f9fa640918 (patch)
treee30a07e6fd48f518c24f5abffb3974ebdef30ec1 /lisp/textmodes/bibtex.el
parent495963cfaf535646350051f47c085b84319572f0 (diff)
downloademacs-9c3eeba4db26ddaeead100beea7a96f9fa640918.tar.gz
emacs-9c3eeba4db26ddaeead100beea7a96f9fa640918.zip
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.
Diffstat (limited to 'lisp/textmodes/bibtex.el')
-rw-r--r--lisp/textmodes/bibtex.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index 79eb22e5ed7..89c94eb7e90 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -1038,6 +1038,9 @@ See `bibtex-generate-autokey' for details."
1038 :type '(repeat (cons (regexp :tag "Old") 1038 :type '(repeat (cons (regexp :tag "Old")
1039 (string :tag "New")))) 1039 (string :tag "New"))))
1040 1040
1041(defvaralias 'bibtex-autokey-name-case-convert
1042 'bibtex-autokey-name-case-convert-function)
1043
1041(defcustom bibtex-autokey-name-case-convert-function 'downcase 1044(defcustom bibtex-autokey-name-case-convert-function 'downcase
1042 "Function called for each name to perform case conversion. 1045 "Function called for each name to perform case conversion.
1043See `bibtex-generate-autokey' for details." 1046See `bibtex-generate-autokey' for details."
@@ -1049,8 +1052,6 @@ See `bibtex-generate-autokey' for details."
1049 (function :tag "Conversion function"))) 1052 (function :tag "Conversion function")))
1050(put 'bibtex-autokey-name-case-convert-function 'safe-local-variable 1053(put 'bibtex-autokey-name-case-convert-function 'safe-local-variable
1051 (lambda (x) (memq x '(upcase downcase capitalize identity)))) 1054 (lambda (x) (memq x '(upcase downcase capitalize identity))))
1052(defvaralias 'bibtex-autokey-name-case-convert
1053 'bibtex-autokey-name-case-convert-function)
1054 1055
1055(defcustom bibtex-autokey-name-length 'infty 1056(defcustom bibtex-autokey-name-length 'infty
1056 "Number of characters from name to incorporate into key. 1057 "Number of characters from name to incorporate into key.
@@ -1113,6 +1114,9 @@ Case is significant. See `bibtex-generate-autokey' for details."
1113 :group 'bibtex-autokey 1114 :group 'bibtex-autokey
1114 :type '(repeat regexp)) 1115 :type '(repeat regexp))
1115 1116
1117(defvaralias 'bibtex-autokey-titleword-case-convert
1118 'bibtex-autokey-titleword-case-convert-function)
1119
1116(defcustom bibtex-autokey-titleword-case-convert-function 'downcase 1120(defcustom bibtex-autokey-titleword-case-convert-function 'downcase
1117 "Function called for each titleword to perform case conversion. 1121 "Function called for each titleword to perform case conversion.
1118See `bibtex-generate-autokey' for details." 1122See `bibtex-generate-autokey' for details."
@@ -1122,8 +1126,6 @@ See `bibtex-generate-autokey' for details."
1122 (const :tag "Capitalize" capitalize) 1126 (const :tag "Capitalize" capitalize)
1123 (const :tag "Upcase" upcase) 1127 (const :tag "Upcase" upcase)
1124 (function :tag "Conversion function"))) 1128 (function :tag "Conversion function")))
1125(defvaralias 'bibtex-autokey-titleword-case-convert
1126 'bibtex-autokey-titleword-case-convert-function)
1127 1129
1128(defcustom bibtex-autokey-titleword-abbrevs nil 1130(defcustom bibtex-autokey-titleword-abbrevs nil
1129 "Determines exceptions to the usual abbreviation mechanism. 1131 "Determines exceptions to the usual abbreviation mechanism.