aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/shell.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/shell.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/shell.el')
-rw-r--r--lisp/shell.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index d4a0556ceb3..232186083d5 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -315,6 +315,8 @@ for Shell mode only."
315 "List of directories saved by pushd in this buffer's shell. 315 "List of directories saved by pushd in this buffer's shell.
316Thus, this does not include the shell's current directory.") 316Thus, this does not include the shell's current directory.")
317 317
318(defvaralias 'shell-dirtrack-mode 'shell-dirtrackp)
319
318(defvar shell-dirtrackp t 320(defvar shell-dirtrackp t
319 "Non-nil in a shell buffer means directory tracking is enabled.") 321 "Non-nil in a shell buffer means directory tracking is enabled.")
320 322
@@ -961,7 +963,6 @@ Environment variables are expanded, see function `substitute-in-file-name'."
961 (and (string-match "^\\+[1-9][0-9]*$" str) 963 (and (string-match "^\\+[1-9][0-9]*$" str)
962 (string-to-number str))) 964 (string-to-number str)))
963 965
964(defvaralias 'shell-dirtrack-mode 'shell-dirtrackp)
965(define-minor-mode shell-dirtrack-mode 966(define-minor-mode shell-dirtrack-mode
966 "Toggle directory tracking in this shell buffer (Shell Dirtrack mode). 967 "Toggle directory tracking in this shell buffer (Shell Dirtrack mode).
967With a prefix argument ARG, enable Shell Dirtrack mode if ARG is 968With a prefix argument ARG, enable Shell Dirtrack mode if ARG is