diff options
| author | Glenn Morris | 2018-04-20 18:34:39 -0400 |
|---|---|---|
| committer | Glenn Morris | 2018-04-20 18:34:39 -0400 |
| commit | 9c3eeba4db26ddaeead100beea7a96f9fa640918 (patch) | |
| tree | e30a07e6fd48f518c24f5abffb3974ebdef30ec1 /lisp/org | |
| parent | 495963cfaf535646350051f47c085b84319572f0 (diff) | |
| download | emacs-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/org')
| -rw-r--r-- | lisp/org/org-agenda.el | 16 | ||||
| -rw-r--r-- | lisp/org/org.el | 13 |
2 files changed, 15 insertions, 14 deletions
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index fcd6eac8096..cbfaf88fb45 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el | |||
| @@ -1401,6 +1401,9 @@ current display in the agenda." | |||
| 1401 | :group 'org-agenda-daily/weekly | 1401 | :group 'org-agenda-daily/weekly |
| 1402 | :type 'plist) | 1402 | :type 'plist) |
| 1403 | 1403 | ||
| 1404 | (defvaralias 'org-agenda-search-view-search-words-only | ||
| 1405 | 'org-agenda-search-view-always-boolean) | ||
| 1406 | |||
| 1404 | (defcustom org-agenda-search-view-always-boolean nil | 1407 | (defcustom org-agenda-search-view-always-boolean nil |
| 1405 | "Non-nil means the search string is interpreted as individual parts. | 1408 | "Non-nil means the search string is interpreted as individual parts. |
| 1406 | 1409 | ||
| @@ -1429,9 +1432,6 @@ boolean search." | |||
| 1429 | :version "24.1" | 1432 | :version "24.1" |
| 1430 | :type 'boolean) | 1433 | :type 'boolean) |
| 1431 | 1434 | ||
| 1432 | (defvaralias 'org-agenda-search-view-search-words-only | ||
| 1433 | 'org-agenda-search-view-always-boolean) | ||
| 1434 | |||
| 1435 | (defcustom org-agenda-search-view-force-full-words nil | 1435 | (defcustom org-agenda-search-view-force-full-words nil |
| 1436 | "Non-nil means, search words must be matches as complete words. | 1436 | "Non-nil means, search words must be matches as complete words. |
| 1437 | When nil, they may also match part of a word." | 1437 | When nil, they may also match part of a word." |
| @@ -1873,6 +1873,9 @@ Nil means don't hide any tags." | |||
| 1873 | (const :tag "Hide none" nil) | 1873 | (const :tag "Hide none" nil) |
| 1874 | (string :tag "Regexp "))) | 1874 | (string :tag "Regexp "))) |
| 1875 | 1875 | ||
| 1876 | (defvaralias 'org-agenda-remove-tags-when-in-prefix | ||
| 1877 | 'org-agenda-remove-tags) | ||
| 1878 | |||
| 1876 | (defcustom org-agenda-remove-tags nil | 1879 | (defcustom org-agenda-remove-tags nil |
| 1877 | "Non-nil means remove the tags from the headline copy in the agenda. | 1880 | "Non-nil means remove the tags from the headline copy in the agenda. |
| 1878 | When this is the symbol `prefix', only remove tags when | 1881 | When this is the symbol `prefix', only remove tags when |
| @@ -1883,8 +1886,7 @@ When this is the symbol `prefix', only remove tags when | |||
| 1883 | (const :tag "Never" nil) | 1886 | (const :tag "Never" nil) |
| 1884 | (const :tag "When prefix format contains %T" prefix))) | 1887 | (const :tag "When prefix format contains %T" prefix))) |
| 1885 | 1888 | ||
| 1886 | (defvaralias 'org-agenda-remove-tags-when-in-prefix | 1889 | (defvaralias 'org-agenda-align-tags-to-column 'org-agenda-tags-column) |
| 1887 | 'org-agenda-remove-tags) | ||
| 1888 | 1890 | ||
| 1889 | (defcustom org-agenda-tags-column 'auto | 1891 | (defcustom org-agenda-tags-column 'auto |
| 1890 | "Shift tags in agenda items to this column. | 1892 | "Shift tags in agenda items to this column. |
| @@ -1902,8 +1904,6 @@ character screen." | |||
| 1902 | :package-version '(Org . "9.1") | 1904 | :package-version '(Org . "9.1") |
| 1903 | :version "26.1") | 1905 | :version "26.1") |
| 1904 | 1906 | ||
| 1905 | (defvaralias 'org-agenda-align-tags-to-column 'org-agenda-tags-column) | ||
| 1906 | |||
| 1907 | (defcustom org-agenda-fontify-priorities 'cookies | 1907 | (defcustom org-agenda-fontify-priorities 'cookies |
| 1908 | "Non-nil means highlight low and high priorities in agenda. | 1908 | "Non-nil means highlight low and high priorities in agenda. |
| 1909 | When t, the highest priority entries are bold, lowest priority italic. | 1909 | When t, the highest priority entries are bold, lowest priority italic. |
| @@ -2067,9 +2067,9 @@ works you probably want to add it to `org-agenda-custom-commands' for good." | |||
| 2067 | 2067 | ||
| 2068 | ;;; Define the org-agenda-mode | 2068 | ;;; Define the org-agenda-mode |
| 2069 | 2069 | ||
| 2070 | (defvaralias 'org-agenda-keymap 'org-agenda-mode-map) | ||
| 2070 | (defvar org-agenda-mode-map (make-sparse-keymap) | 2071 | (defvar org-agenda-mode-map (make-sparse-keymap) |
| 2071 | "Keymap for `org-agenda-mode'.") | 2072 | "Keymap for `org-agenda-mode'.") |
| 2072 | (defvaralias 'org-agenda-keymap 'org-agenda-mode-map) | ||
| 2073 | 2073 | ||
| 2074 | (defvar org-agenda-menu) ; defined later in this file. | 2074 | (defvar org-agenda-menu) ; defined later in this file. |
| 2075 | (defvar org-agenda-restrict nil) ; defined later in this file. | 2075 | (defvar org-agenda-restrict nil) ; defined later in this file. |
diff --git a/lisp/org/org.el b/lisp/org/org.el index b68c68bc355..7f4c6d5936b 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -1490,6 +1490,8 @@ time in Emacs." | |||
| 1490 | :group 'org-edit-structure | 1490 | :group 'org-edit-structure |
| 1491 | :type 'boolean) | 1491 | :type 'boolean) |
| 1492 | 1492 | ||
| 1493 | (defvaralias 'org-special-ctrl-a 'org-special-ctrl-a/e) | ||
| 1494 | |||
| 1493 | (defcustom org-special-ctrl-a/e nil | 1495 | (defcustom org-special-ctrl-a/e nil |
| 1494 | "Non-nil means `C-a' and `C-e' behave specially in headlines and items. | 1496 | "Non-nil means `C-a' and `C-e' behave specially in headlines and items. |
| 1495 | 1497 | ||
| @@ -1527,7 +1529,6 @@ This may also be a cons cell where the behavior for `C-a' and | |||
| 1527 | (const :tag "off" nil) | 1529 | (const :tag "off" nil) |
| 1528 | (const :tag "on: before tags first" t) | 1530 | (const :tag "on: before tags first" t) |
| 1529 | (const :tag "reversed: after tags first" reversed))))) | 1531 | (const :tag "reversed: after tags first" reversed))))) |
| 1530 | (defvaralias 'org-special-ctrl-a 'org-special-ctrl-a/e) | ||
| 1531 | 1532 | ||
| 1532 | (defcustom org-special-ctrl-k nil | 1533 | (defcustom org-special-ctrl-k nil |
| 1533 | "Non-nil means `C-k' will behave specially in headlines. | 1534 | "Non-nil means `C-k' will behave specially in headlines. |
| @@ -3005,6 +3006,8 @@ because Agenda Log mode depends on the format of these entries." | |||
| 3005 | (unless (assq 'note org-log-note-headings) | 3006 | (unless (assq 'note org-log-note-headings) |
| 3006 | (push '(note . "%t") org-log-note-headings)) | 3007 | (push '(note . "%t") org-log-note-headings)) |
| 3007 | 3008 | ||
| 3009 | (defvaralias 'org-log-state-notes-into-drawer 'org-log-into-drawer) | ||
| 3010 | |||
| 3008 | (defcustom org-log-into-drawer nil | 3011 | (defcustom org-log-into-drawer nil |
| 3009 | "Non-nil means insert state change notes and time stamps into a drawer. | 3012 | "Non-nil means insert state change notes and time stamps into a drawer. |
| 3010 | When nil, state changes notes will be inserted after the headline and | 3013 | When nil, state changes notes will be inserted after the headline and |
| @@ -3036,8 +3039,6 @@ function `org-log-into-drawer' instead." | |||
| 3036 | (const :tag "LOGBOOK" t) | 3039 | (const :tag "LOGBOOK" t) |
| 3037 | (string :tag "Other"))) | 3040 | (string :tag "Other"))) |
| 3038 | 3041 | ||
| 3039 | (defvaralias 'org-log-state-notes-into-drawer 'org-log-into-drawer) | ||
| 3040 | |||
| 3041 | (defun org-log-into-drawer () | 3042 | (defun org-log-into-drawer () |
| 3042 | "Name of the log drawer, as a string, or nil. | 3043 | "Name of the log drawer, as a string, or nil. |
| 3043 | This is the value of `org-log-into-drawer'. However, if the | 3044 | This is the value of `org-log-into-drawer'. However, if the |
| @@ -3798,6 +3799,9 @@ regular expression will be included." | |||
| 3798 | :group 'org-agenda | 3799 | :group 'org-agenda |
| 3799 | :type 'regexp) | 3800 | :type 'regexp) |
| 3800 | 3801 | ||
| 3802 | (defvaralias 'org-agenda-multi-occur-extra-files | ||
| 3803 | 'org-agenda-text-search-extra-files) | ||
| 3804 | |||
| 3801 | (defcustom org-agenda-text-search-extra-files nil | 3805 | (defcustom org-agenda-text-search-extra-files nil |
| 3802 | "List of extra files to be searched by text search commands. | 3806 | "List of extra files to be searched by text search commands. |
| 3803 | These files will be searched in addition to the agenda files by the | 3807 | These files will be searched in addition to the agenda files by the |
| @@ -3815,9 +3819,6 @@ scope." | |||
| 3815 | (const :tag "Agenda Archives" agenda-archives) | 3819 | (const :tag "Agenda Archives" agenda-archives) |
| 3816 | (repeat :inline t (file)))) | 3820 | (repeat :inline t (file)))) |
| 3817 | 3821 | ||
| 3818 | (defvaralias 'org-agenda-multi-occur-extra-files | ||
| 3819 | 'org-agenda-text-search-extra-files) | ||
| 3820 | |||
| 3821 | (defcustom org-agenda-skip-unavailable-files nil | 3822 | (defcustom org-agenda-skip-unavailable-files nil |
| 3822 | "Non-nil means to just skip non-reachable files in `org-agenda-files'. | 3823 | "Non-nil means to just skip non-reachable files in `org-agenda-files'. |
| 3823 | A nil value means to remove them, after a query, from the list." | 3824 | A nil value means to remove them, after a query, from the list." |