1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-16 16:20:40 -08:00
Commit graph

148415 commits

Author SHA1 Message Date
Stefan Kangas
b65a1cfed7 * doc/misc/woman.texi (Introduction): Remove reference to old Emacs. 2021-04-02 16:33:15 +02:00
Stefan Kangas
b281d0aefa Remove redundant #' before lambda in textmodes/*.el
* lisp/textmodes/fill.el:
* lisp/textmodes/ispell.el (ispell-find-enchant-dictionaries):
* lisp/textmodes/rst.el (rst-re, rst-Ado-position)
(rst-Hdr-member-ado, rst-mode-abbrev-table)
(rst-preferred-adornments, rst-new-preferred-hdr)
(rst-classify-adornment, rst-ttl-at-point, rst-hdr-hierarchy)
(rst-all-ttls-with-level, rst-get-previous-hdr)
(rst-adjust-region, rst-preferred-bullets, rst-find-begs)
(rst-straighten-bullets-region, rst-stn-containing-point)
(rst-toc-update, rst-forward-section, rst-shift-region)
(rst-enumerate-region, rst-bullet-list-region)
(rst-line-block-region, rst-forward-indented-block): Remove redundant #'
before lambda.
2021-04-02 16:33:15 +02:00
Stefan Monnier
a9645338e4 * doc/misc/reftex.texi: Remove outdated instructions
(Building and Installing, Installation with make)
(Installation by Hand, Loading @RefTeX{}): Delete sections.
(Entering @RefTeX{} Mode): Merge into its parent.
(AUCTeX): Point to GNU ELPA for installation.
(Problems and Work-Arounds): Remove XEmacs-specific item.
2021-04-02 09:40:37 -04:00
Arash Esbati
dcc3212809 Delete XEmacs-only definition
* lisp/textmodes/reftex-vars.el (reftex-label-regexps): Remove
XEmacs compat code.
2021-04-02 09:40:37 -04:00
Juri Linkov
a789d8a3a0 * lisp/progmodes/xref.el: Change xref-file-name-display and xref-match face.
* lisp/progmodes/xref.el (xref-file-name-display): Change the default value
to 'project-relative' (bug#47012).
(xref-match)<face>: Inherit from 'match'.
2021-04-02 11:25:05 +03:00
Dmitry Gutov
4798dc0c51 Fix C-u project-find-regexp's default dir
* lisp/progmodes/project.el (project-find-regexp):
Default read-directory-name to the current default-directory when
called with C-u (bug#47012).
2021-04-02 01:24:57 +03:00
Stefan Monnier
0c8ea6be09 * lisp/progmodes/cfengine.el: Use lexical-binding 2021-04-01 18:16:52 -04:00
Stefan Monnier
cf1ac9d830 * lisp/progmodes/dcl-mode.el: Clarify what is meant by DCL 2021-04-01 17:23:55 -04:00
Andrea Corallo
978afd788f * src/comp.h (unload_comp_unit): Define for vanilla build (warning removal). 2021-04-01 22:15:08 +02:00
Stefan Kangas
e5b8d071e0 Remove redundant #' before lambda in {mail,net,url}/*.el
* lisp/mail/mail-extr.el:
* lisp/mail/rmail.el (rmail-start-mail):
* lisp/net/gnutls.el (gnutls-boot-parameters):
* lisp/net/imap.el (imap-starttls-open):
* lisp/net/pop3.el (pop3-list):
* lisp/url/url-cookie.el (url-cookie-save-interval):
* lisp/url/url-history.el (url-history-save-interval)
(url-history-track):
* lisp/url/url-mailto.el (url-mailto): Remove redundant #' before lambda.
2021-04-01 22:05:16 +02:00
Andrea Corallo
dc393517ca Issue a warning when eln look-up fails due to missing .el source file.
* lisp/emacs-lisp/comp.el (comp-warning-on-missing-source): New
	customize.
	* src/lread.c (maybe_swap_for_eln): Issue a warning when eln
	look-up fails due to missing .el source file.
	* src/comp.c (syms_of_comp): Define
	'Qcomp_warning_on_missing_source'.
2021-04-01 21:49:38 +02:00
Stefan Kangas
a5125f98b8 ; Remove spurious comment in last commit 2021-04-01 19:57:05 +02:00
Stefan Kangas
33f00364cf Use lexical-binding in executable.el and add tests
* lisp/progmodes/executable.el: Use lexical-binding.
* test/lisp/progmodes/executable-tests.el: New file.
2021-04-01 19:55:32 +02:00
Stefan Kangas
4a538c4861 Remove redundant #' before lambda in progmodes/*.el
* lisp/progmodes/cc-styles.el (c-set-offset):
* lisp/progmodes/ebnf-yac.el (ebnf-yac-token-table):
* lisp/progmodes/ebnf2ps.el (ebnf-format-float, ebnf-map-name):
* lisp/progmodes/grep.el (lgrep, rgrep-default-command):
* lisp/progmodes/inf-lisp.el:
* lisp/progmodes/octave.el (octave-lookfor):
* lisp/progmodes/python.el (python-pdbtrack-tracking-finish): Remove
redundant #' before lambda.
2021-04-01 16:26:44 +02:00
Stefan Kangas
8129998deb Remove redundant #' before lambda in international/*.el
* lisp/international/characters.el:
(use-cjk-char-width-table, update-glyphless-char-display):
* lisp/international/fontset.el (build-default-fontset-data)
(generate-fontset-menu):
* lisp/international/latin1-disp.el (latin1-display-reset):
* lisp/international/mule-cmds.el
(select-safe-coding-system-interactively):
* lisp/international/mule-diag.el (sort-listed-character-sets)
(font-show-log):
* lisp/international/mule.el (char-displayable-p):
* lisp/international/quail.el (quail-keyboard-layout-type)
(quail-update-translation, quail-find-key):
* lisp/international/titdic-cnv.el (tsang-quick-converter)
(ziranma-converter): Remove redundant #' before lambda.
2021-04-01 16:10:36 +02:00
Glenn Morris
84519cdbda ; Auto-commit of loaddefs files. 2021-04-01 06:26:57 -07:00
Eli Zaretskii
5bf7c6ce4e GNUmakefile: Fix last change. 2021-04-01 15:59:28 +03:00
Eli Zaretskii
12d2fd6037 Fix 'extraclean' targets
* GNUmakefile: Add description of 'extraclean'.

* Makefile.in (extraclean_dirs): Add lwlib.

* lwlib/Makefile.in (clean mostlyclean extraclean): Add
'extraclean' target.

* lisp/Makefile.in (extraclean): Remove ${loaddefs}, not just
${LOADDEFS}.  Delete all backup and autosave files.
2021-04-01 15:57:55 +03:00
Stefan Kangas
4582c96828 Use lexical-binding in epg-config.el and add tests
* lisp/epg-config.el: Use lexical-binding.
(epg-find-configuration): Improve error message.
* test/lisp/epg-config-tests.el: New file.
2021-04-01 11:07:06 +02:00
Stefan Kangas
1f790dfe90 Use lexical-binding in isearchb.el
* lisp/isearchb.el: Use lexical-binding.  Remove redundant :group
args.
2021-04-01 10:34:39 +02:00
Stefan Kangas
41f37c8c82 Remove redundant #' before lambda in Gnus
* lisp/gnus/gnus-group.el (gnus-group-list-cached)
(gnus-group-list-dormant, gnus-group-list-ticked):
* lisp/gnus/gnus-registry.el (gnus-registry-remove-extra-data):
* lisp/gnus/gnus-score.el (gnus-score-edit-file-at-point):
* lisp/gnus/gnus-sum.el (gnus-fetch-headers):
* lisp/gnus/mm-partial.el (mm-inline-partial):
* lisp/gnus/nnselect.el (nnselect-uncompress-artlist)
(numbers-by-group, nnselect-request-expire-articles)
(nnselect-request-update-info, nnselect-request-thread):
* lisp/gnus/nnvirtual.el (nnvirtual-request-expire-articles):
* lisp/gnus/spam-stat.el (spam-stat-score-buffer): Remove redundant #'
before lambda.
2021-04-01 10:23:21 +02:00
Stefan Kangas
168d2628b2 Use lexical-binding in avoid.el
* lisp/avoid.el: Use lexical-binding.  Remove redundant :group args.
(mouse-avoidance-fancy): Quote function symbol as such.
2021-04-01 01:27:38 +02:00
Stefan Kangas
c59dedcdf1 Use emacs-version instead of obsolete version variables
* lisp/calendar/icalendar.el (icalendar-version):
* lisp/dframe.el (dframe-version):
* lisp/emacs-lisp/checkdoc.el (checkdoc-version):
* lisp/emulation/edt.el (edt-version):
* lisp/international/mule.el (mule-version):
* lisp/linum.el (linum-version):
* lisp/play/bubbles.el (bubbles-version):
* lisp/textmodes/remember.el (remember-version):
* lisp/url/url-vars.el (url-version):
* lisp/woman.el (woman-version): Use emacs-version instead of obsolete
version variables.
2021-04-01 01:27:38 +02:00
Stefan Monnier
4f595cca57 * lisp/strokes.el: Use lexical-binding. Remove redundant :group args
(strokes-char-table): Move initialization into declaration.
2021-03-31 18:39:52 -04:00
Stefan Monnier
ad5322fcea * lisp/forms.el: Use lexical-binding. Remove redundant :group args
(forms--process-format-list, forms--debug): Strength-reduce `eval`
to `symbol-value`.
2021-03-31 18:27:14 -04:00
Stefan Monnier
c1ce074763 * lisp/progmodes/dcl-mode.el: Use lexical-binding
(dcl-guess-option-value, dcl-save-local-variable)
(dcl-save-nondefault-options): Strength-reduce `eval` to `symbol-value`.
2021-03-31 18:15:28 -04:00
Michael Albinus
ed320ebe28 ; Fix last change 2021-03-31 21:12:09 +02:00
Eli Zaretskii
8d550700c5 * src/comp.c (Fcomp__compile_ctxt_to_file): Fix debug level 1. 2021-03-31 22:11:08 +03:00
Michael Albinus
0f5bd3b7fa * lisp/net/tramp-sh.el (tramp-sh-gio-monitor-process-filter):
Make assumption for emba.
2021-03-31 21:09:55 +02:00
Andrea Corallo
8e524f4591 * lisp/emacs-lisp/comp.el (comp-final): Clean-up temporary file. 2021-03-31 20:38:32 +02:00
Andrea Corallo
53ca0d9844 Rework native compilation `comp-debug' (bug#46495)
* lisp/emacs-lisp/comp.el (comp-debug): Update docstring and
	move default on Windows systems from 0 to 1.
	* src/comp.c (Fcomp__compile_ctxt_to_file): Tweak debug
	levels.
2021-03-31 20:25:08 +02:00
Andrea Corallo
613caa9527 Do not defer compilation when bytecode is explicitly requested (bug#46617)
* src/comp.c (maybe_defer_native_compilation): Check if the file
	is registered in 'V_comp_no_native_file_h'.
	(syms_of_comp): 'V_comp_no_native_file_h' new global.
	* src/lread.c (maybe_swap_for_eln): Register files in
	'V_comp_no_native_file_h'.
	* lisp/faces.el (tty-run-terminal-initialization): Do not
	explicitly load .elc file to not exclude .eln being loaded in
	place.
2021-03-31 19:56:10 +02:00
Stefan Kangas
f236b516b6 Use lexical-binding in progmodes/inf-lisp.el
* lisp/progmodes/inf-lisp.el: Use lexical-binding.  Doc fixes.
(inferior-lisp-mode-map, lisp-mode-map)
(inferior-lisp-install-letter-bindings): Quote function symbols as such.
(inferior-lisp-menu, lisp-compile-string, lisp-eval-string)
(lisp-show-variable-documentation): Doc fixes.
2021-03-31 12:59:37 +02:00
Michael Albinus
97992a342b ; * lisp/net/tramp-sh.el (tramp-sh-gio-monitor-process-filter):
; Instrument for emba.
2021-03-31 11:37:35 +02:00
Andrea Corallo
515378434a Merge remote-tracking branch 'savannah/master' into native-comp 2021-03-31 10:48:02 +02:00
Andrea Corallo
aa159bf696 * lisp/emacs-lisp/comp.el (comp-debug): Fix docstring. 2021-03-31 10:24:55 +02:00
Stefan Kangas
3b1c646202 Use lexical-binding in scroll-all.el
* lisp/scroll-all.el: Use lexical-binding.
(scroll-all-scroll-down-all, scroll-all-scroll-up-all)
(scroll-all-page-down-all, scroll-all-page-up-all)
(scroll-all-beginning-of-buffer-all)
(scroll-all-end-of-buffer-all): Doc fixes.
2021-03-31 08:25:24 +02:00
Stefan Kangas
99026711d7 * lisp/dynamic-setting.el: Use lexical-binding. 2021-03-31 08:05:58 +02:00
Luke Lee
8ac3132957 Fix incorrect regular expression for more general text replacements.
* lisp/progmodes/hideif.el (hif-evaluate-macro): fix regexp to trim
  off leading/trailing spaces, but not within.
2021-03-31 11:42:33 +08:00
Stefan Kangas
571c261525 Use lexical-binding in chistory.el
* lisp/chistory.el: Use lexical-binding.  Remove redundant :group
args.
(command-history-mode-map): Quote function symbols as such.
2021-03-31 01:43:47 +02:00
Stefan Kangas
20f2488dbf * lisp/ebuff-menu.el: Use lexical-binding. 2021-03-31 01:23:29 +02:00
Stefan Kangas
051f791f9e Use lexical-binding in double.el
* lisp/double.el: Use lexical-binding.  Remove redundant :group
args.
2021-03-31 01:11:21 +02:00
Stefan Kangas
995d1d9995 Use lexical-binding in dirtrack.el
* lisp/dirtrack.el: Use lexical-binding.  Remove redundant group
args.
2021-03-31 00:58:18 +02:00
Stefan Kangas
d47db03829 * lisp/progmodes/cwarn.el: Use lexical-binding. 2021-03-31 00:07:03 +02:00
Stefan Kangas
63608efe7e Remove redundant #' before lambda in cedet
* lisp/cedet/mode-local.el (mode-local-map-mode-buffers)
(mode-local--activate-bindings, mode-local--deactivate-bindings)
(setq-mode-local, describe-mode-local-bindings-in-mode):
* lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
* lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
* lisp/cedet/semantic/db-ebrowse.el
(semanticdb-ebrowse-get-ebrowse-structure):
* lisp/cedet/semantic/db-global.el
(semanticdb-enable-gnu-global-databases):
* lisp/cedet/semantic/edit.el (semantic-changes-in-region):
* lisp/cedet/semantic/fw.el (semantic-install-function-overrides):
* lisp/cedet/semantic/grammar.el (semantic-grammar-ASSOC)
(semantic-grammar-tag-symbols, semantic-grammar-keywords)
(semantic--grammar-macros-regexp-1)
(semantic-format-tag-summarize):
* lisp/cedet/semantic/idle.el (semantic-idle-core-handler)
(semantic-idle-work-core-handler):
* lisp/cedet/semantic/imenu.el (semantic-imenu-semanticdb-hook):
* lisp/cedet/semantic/java.el (semantic-java-doc-keywords-map)
(semantic-java-doc-setup):
* lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-save-table)
(semantic-lex-spp-macros):
* lisp/cedet/semantic/lex.el (semantic-lex-map-symbols)
(semantic-lex-keywords, semantic-lex-types):
* lisp/cedet/semantic/util-modes.el
(semantic-toggle-minor-mode-globally):
* lisp/cedet/semantic/wisent/comp.el (wisent-defcontext)
(wisent-automaton-lisp-form):
* lisp/cedet/semantic/wisent/grammar.el (wisent-grammar-assocs)
(wisent-grammar-terminals): Remove redundant #' before lambda.
2021-03-30 23:52:50 +02:00
Stefan Kangas
3c00496baa Delete Emacs 19 compat code in foldout.el
* lisp/foldout.el (foldout-hide-flag):
(foldout-show-flag): Delete Emacs 19 compat code and make obsolete.
(foldout-exit-fold): Don't use above obsolete variable.
2021-03-30 23:37:09 +02:00
Stefan Kangas
d3aac3b34c Use lexical-binding in lpr.el and add rudimentary tests
* lisp/lpr.el: Use lexical-binding.  Remove redundant :group args.
(print-region-function): Declare MS-Windows specific function.
* test/lisp/lpr-tests.el: New file.
2021-03-30 23:11:24 +02:00
Stefan Kangas
4f3c9df047 Use lexical-binding in echistory.el
* lisp/echistory.el: Use lexical-binding.
(electric-history-map): Quote function symbols as such.
(Electric-history-undefined): Use command substitutions.
2021-03-30 19:02:20 +02:00
Stefan Kangas
49cbf2392b Delete empty "History" sections
* lisp/bs.el:
* lisp/calendar/timeclock.el:
* lisp/cedet/semantic/bovine/grammar.el:
* lisp/cedet/semantic/grammar.el:
* lisp/cedet/semantic/wisent.el:
* lisp/cedet/semantic/wisent/comp.el:
* lisp/cedet/semantic/wisent/java-tags.el:
* lisp/cedet/semantic/wisent/wisent.el:
* lisp/erc/erc.el:
* lisp/net/newst-treeview.el:
* lisp/recentf.el:
* lisp/ruler-mode.el:
* lisp/textmodes/remember.el:
* lisp/thumbs.el:
* lisp/tree-widget.el:
* lisp/vc/vc-hg.el: Delete empty "History" sections.

* lisp/cedet/semantic/grammar.el
(semantic-grammar-header-template): Don't add "History" section to
generated file.
2021-03-30 15:50:26 +02:00
Stefan Kangas
4ed75f9fcb Use lexical-binding in follow.el
* lisp/follow.el: Use lexical-binding.
(follow-mode-map, follow-debug-message): Quote function symbols as
such.
(follow-pos-visible-in-window-p): Remove unused variable 'last'.
(follow-move-to-window-line): Remove unused variable 'middle-window'.
2021-03-30 15:16:28 +02:00