From: Stefan Kangas Date: Sun, 7 Aug 2022 17:23:36 +0000 (+0200) Subject: Clean up some local variable sections X-Git-Tag: emacs-29.0.90~1447^2~327 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4b5414abbc01a3b4ae441d28e96b0f3f46a487fb;p=emacs.git Clean up some local variable sections * lisp/filesets.el: * lisp/mh-e/mh-*.el: * lisp/progmodes/python.el (python): Don't set options that are already set in .dir-locals.el. * lisp/textmodes/ispell.el: Remove redundant local variables. * lisp/gnus/nnmaildir.el: Remove local variables that conflicts with Emacs defaults. --- diff --git a/lisp/erc/erc-networks.el b/lisp/erc/erc-networks.el index 091b8aa92d7..c54b12fcb0b 100644 --- a/lisp/erc/erc-networks.el +++ b/lisp/erc/erc-networks.el @@ -1547,6 +1547,3 @@ VALUE is the options value.") (provide 'erc-networks) ;;; erc-networks.el ends here -;; -;; Local Variables: -;; End: diff --git a/lisp/filesets.el b/lisp/filesets.el index a8d837e7e15..e1d1379551f 100644 --- a/lisp/filesets.el +++ b/lisp/filesets.el @@ -2499,8 +2499,4 @@ Set up hooks, load the cache file -- if existing -- and build the menu." (provide 'filesets) -;; Local Variables: -;; sentence-end-double-space:t -;; End: - ;;; filesets.el ends here diff --git a/lisp/gnus/nnmaildir.el b/lisp/gnus/nnmaildir.el index 98e074233df..951978fc5b1 100644 --- a/lisp/gnus/nnmaildir.el +++ b/lisp/gnus/nnmaildir.el @@ -1785,9 +1785,4 @@ This variable is set by `nnmaildir-request-article'.") (provide 'nnmaildir) -;; Local Variables: -;; indent-tabs-mode: t -;; fill-column: 77 -;; End: - ;;; nnmaildir.el ends here diff --git a/lisp/mh-e/mh-acros.el b/lisp/mh-e/mh-acros.el index 31630b43ca6..faf27cd0662 100644 --- a/lisp/mh-e/mh-acros.el +++ b/lisp/mh-e/mh-acros.el @@ -289,7 +289,6 @@ form (FUNCNAME ARGLIST BODY...), similar to defun." ;; Local Variables: ;; no-byte-compile: t -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-alias.el b/lisp/mh-e/mh-alias.el index f39caac893d..3d034554f2b 100644 --- a/lisp/mh-e/mh-alias.el +++ b/lisp/mh-e/mh-alias.el @@ -662,7 +662,6 @@ show buffer, the message in the show buffer doesn't match." (provide 'mh-alias) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-buffers.el b/lisp/mh-e/mh-buffers.el index f21b57663b2..4b15b774132 100644 --- a/lisp/mh-e/mh-buffers.el +++ b/lisp/mh-e/mh-buffers.el @@ -75,7 +75,6 @@ The function returns the size of the final size of the log buffer." (provide 'mh-buffers) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el index a9f6274e9d4..678bffd1687 100644 --- a/lisp/mh-e/mh-comp.el +++ b/lisp/mh-e/mh-comp.el @@ -1272,7 +1272,6 @@ discarded." (provide 'mh-comp) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el index 3762445271a..93af525e39d 100644 --- a/lisp/mh-e/mh-e.el +++ b/lisp/mh-e/mh-e.el @@ -3715,7 +3715,6 @@ The background and foreground are used in the image." (provide 'mh-e) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-folder.el b/lisp/mh-e/mh-folder.el index 09df0465eda..7f200534ef9 100644 --- a/lisp/mh-e/mh-folder.el +++ b/lisp/mh-e/mh-folder.el @@ -2012,7 +2012,6 @@ If MSG is nil then act on the message at point" (provide 'mh-folder) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-funcs.el b/lisp/mh-e/mh-funcs.el index f011ea47f80..ab89ef2a3d1 100644 --- a/lisp/mh-e/mh-funcs.el +++ b/lisp/mh-e/mh-funcs.el @@ -366,7 +366,6 @@ Arguments are IGNORED (for `revert-buffer')." (provide 'mh-funcs) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-gnus.el b/lisp/mh-e/mh-gnus.el index c341b096834..685553164cf 100644 --- a/lisp/mh-e/mh-gnus.el +++ b/lisp/mh-e/mh-gnus.el @@ -109,7 +109,6 @@ PROMPT overrides the default one used to ask user for a file name." ;; Local Variables: ;; no-update-autoloads: t -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-identity.el b/lisp/mh-e/mh-identity.el index 43eaeb7aa0f..b7fa35a92f5 100644 --- a/lisp/mh-e/mh-identity.el +++ b/lisp/mh-e/mh-identity.el @@ -316,7 +316,6 @@ the header." (provide 'mh-identity) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-inc.el b/lisp/mh-e/mh-inc.el index 2c29ec32234..cc6ebfef426 100644 --- a/lisp/mh-e/mh-inc.el +++ b/lisp/mh-e/mh-inc.el @@ -78,7 +78,6 @@ (provide 'mh-inc) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-junk.el b/lisp/mh-e/mh-junk.el index 1f773b878a8..be1b7642eb3 100644 --- a/lisp/mh-e/mh-junk.el +++ b/lisp/mh-e/mh-junk.el @@ -540,7 +540,6 @@ See `mh-spamprobe-blocklist' for more information." (provide 'mh-junk) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-letter.el b/lisp/mh-e/mh-letter.el index 78355101c12..723e5bb36c0 100644 --- a/lisp/mh-e/mh-letter.el +++ b/lisp/mh-e/mh-letter.el @@ -936,7 +936,6 @@ Otherwise, simply insert MH-INS-STRING before each line." (provide 'mh-letter) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-limit.el b/lisp/mh-e/mh-limit.el index 3e731e22a1f..da3e5b4f35c 100644 --- a/lisp/mh-e/mh-limit.el +++ b/lisp/mh-e/mh-limit.el @@ -325,7 +325,6 @@ The MH command pick is used to do the match." (provide 'mh-limit) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el index 865f817da5b..2f1b835de02 100644 --- a/lisp/mh-e/mh-mime.el +++ b/lisp/mh-e/mh-mime.el @@ -1788,7 +1788,6 @@ initialized. Always use the command `mh-have-file-command'.") (provide 'mh-mime) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-print.el b/lisp/mh-e/mh-print.el index 2eec8d91600..78906b68ad3 100644 --- a/lisp/mh-e/mh-print.el +++ b/lisp/mh-e/mh-print.el @@ -242,7 +242,6 @@ Consider using \\[mh-ps-print-msg] instead." (provide 'mh-print) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-scan.el b/lisp/mh-e/mh-scan.el index 06381a2e0ed..4b4c5942863 100644 --- a/lisp/mh-e/mh-scan.el +++ b/lisp/mh-e/mh-scan.el @@ -526,7 +526,6 @@ comes after that." (provide 'mh-scan) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el index c5519eba0ac..8a8a8c33581 100644 --- a/lisp/mh-e/mh-search.el +++ b/lisp/mh-e/mh-search.el @@ -1932,7 +1932,6 @@ folder buffer." (provide 'mh-search) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-seq.el b/lisp/mh-e/mh-seq.el index a95c7c03d17..8339273fc9b 100644 --- a/lisp/mh-e/mh-seq.el +++ b/lisp/mh-e/mh-seq.el @@ -996,7 +996,6 @@ removed." (provide 'mh-seq) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-show.el b/lisp/mh-e/mh-show.el index cc76b8d7e61..1731d75738b 100644 --- a/lisp/mh-e/mh-show.el +++ b/lisp/mh-e/mh-show.el @@ -894,7 +894,6 @@ See also `mh-folder-mode'. (provide 'mh-show) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-speed.el b/lisp/mh-e/mh-speed.el index a7e9c9bd678..3babea76121 100644 --- a/lisp/mh-e/mh-speed.el +++ b/lisp/mh-e/mh-speed.el @@ -568,7 +568,6 @@ The function invalidates the latest ancestor that is present." (provide 'mh-speed) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-thread.el b/lisp/mh-e/mh-thread.el index 139e9b74cbb..2358ba4bc61 100644 --- a/lisp/mh-e/mh-thread.el +++ b/lisp/mh-e/mh-thread.el @@ -865,7 +865,6 @@ This function can only be used the folder is threaded." (provide 'mh-thread) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-tool-bar.el b/lisp/mh-e/mh-tool-bar.el index 17df075cfac..933b3b633af 100644 --- a/lisp/mh-e/mh-tool-bar.el +++ b/lisp/mh-e/mh-tool-bar.el @@ -376,7 +376,6 @@ This button runs `mh-widen'")) (provide 'mh-tool-bar) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-utils.el b/lisp/mh-e/mh-utils.el index ed32716ffa2..bf2d3c71db0 100644 --- a/lisp/mh-e/mh-utils.el +++ b/lisp/mh-e/mh-utils.el @@ -1010,7 +1010,6 @@ If the current line is too long truncate a part of it as well." (provide 'mh-utils) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/mh-e/mh-xface.el b/lisp/mh-e/mh-xface.el index b144c58d696..d6ecd836556 100644 --- a/lisp/mh-e/mh-xface.el +++ b/lisp/mh-e/mh-xface.el @@ -414,7 +414,6 @@ The argument CHANGE is ignored." (provide 'mh-xface) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/obsolete/mh-compat.el b/lisp/obsolete/mh-compat.el index 8025105083f..2c9d1b73e28 100644 --- a/lisp/obsolete/mh-compat.el +++ b/lisp/obsolete/mh-compat.el @@ -130,7 +130,6 @@ This is taken from RFC 2396.") (provide 'mh-compat) ;; Local Variables: -;; indent-tabs-mode: nil ;; sentence-end-double-space: nil ;; End: diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 88b19c88cd9..5edd6e7df56 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -5852,11 +5852,6 @@ REPORT-FN is Flymake's callback function." (add-hook 'flymake-diagnostic-functions #'python-flymake nil t)) - (provide 'python) -;; Local Variables: -;; indent-tabs-mode: nil -;; End: - ;;; python.el ends here diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 8c8522a6e5e..f85d0aba9cf 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -4235,17 +4235,10 @@ Both should not be used to define a buffer-local dictionary." ;;; LOCAL VARIABLES AND BUFFER-LOCAL VALUE EXAMPLES. -;; Local Variable options: -;; mode: name(-mode) -;; eval: expression -;; local-variable: value - ;; The following sets the buffer local dictionary to `american' English ;; and spell checks only comments. ;; Local Variables: -;; mode: emacs-lisp -;; comment-column: 40 ;; ispell-check-comments: exclusive ;; ispell-local-dictionary: "american" ;; End: