Eli Zaretskii
44ed8f6555
Fix unexec compilation
...
* src/pdumper.c (thaw_hash_tables): Now conditioned by
HAVE_PDUMPER.
(init_pdumper_once): No-op unless HAVE_PDUMPER. Reported by
Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>.
2021-04-04 10:10:00 +03:00
Eli Zaretskii
69158a1995
Fix recent changes regarding frame-scale-factor
...
* src/frame.c (Fframe_scale_factor): Make more robust and avoid
compiler warning while at that. Doc fix.
2021-04-04 09:41:44 +03:00
İ. Göktuğ Kayaalp
55c768f3ea
Fix build error in frame.h on non-NS
...
* src/frame.h (FRAME_SCALE_FACTOR): Fix syntax of macro in
previous change.
2021-04-04 04:14:29 +02:00
Alan Third
0689a4ac50
Make new SVG widgets match character height (bug#47074)
...
* etc/images/checkbox-mixed.svg:
* etc/images/checked.svg:
* etc/images/radio-checked.svg:
* etc/images/radio-mixed.svg:
* etc/images/radio.svg:
* etc/images/unchecked.svg: Use viewBox and set height to 1em.
2021-04-03 23:23:54 +01:00
Alan Third
1fdbeffe3a
Set CSS for SVG files
...
* src/dispextern.h (struct image): Add font details required for the CSS.
* src/image.c (free_image): Free the font family string.
(search_image_cache):
(uncache_image): Make image caching understand the font details.
(lookup_image): Handle the font details when generating the image and
looking up the cache.
(svg_css_length_to_pixels): Handle 'em' when we know the font size.
(svg_load_image): Generate the CSS and apply it to the SVG.
(enum svg_keyword_index):
(svg_format):
(syms_of_image): Add ':css' attribute.
* doc/lispref/display.texi (SVG Images): Add details of new svg image
attributes.
2021-04-03 23:07:01 +01:00
Alan Third
40842f67af
Fix NSTRACE failure
...
* src/nsterm.m ([EmacsSurface getContext]): Remove unneeded '@' symbol.
2021-04-03 23:07:01 +01:00
Alan Third
4e1f92feb3
Implement frame-scale-factor
...
* src/frame.c (Fframe_scale_factor): New function.
(syms_of_frame): Add frame-scale-factor.
* src/frame.h: Add FRAME_SCALE_FACTOR.
* src/image.c: Move FRAME_SCALE_FACTOR to frame.h.
2021-04-03 23:06:44 +01:00
Stefan Kangas
b0d095b2cd
Add SVG icons for customize buffers
...
* etc/images/checkbox-mixed.svg:
* etc/images/checked.svg:
* etc/images/down.svg:
* etc/images/left.svg:
* etc/images/radio-checked.svg:
* etc/images/radio-mixed.svg:
* etc/images/radio.svg:
* etc/images/right.svg:
* etc/images/unchecked.svg:
* etc/images/up.svg: New files from the Adwaita Icon Theme (made by
the GNOME project). The background color was changed from gray to
none to use the same colors as the current face instead. (Bug#47074)
* etc/images/README: Add license information for the above new files.
* lisp/wid-edit.el (widget-image-conversion): Prefer SVG if it exists.
(radio-button): Rename radio buttons to "radio-checked" and
"radio". These files did not exist before.
2021-04-03 21:53:06 +02:00
Stefan Monnier
ebc2b78c8b
* lisp/vcursor.el: Use lexical-binding
...
Remove redundant `:group` args.
(vcursor): Remove unused var declaration.
2021-04-03 14:15:43 -04:00
Michael Albinus
4eca3bd8df
* lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory):
...
Fix code finding //DIRED//.
2021-04-03 18:25:27 +02:00
Stefan Kangas
d47706c552
; Remove some redundant installation instructions
2021-04-03 12:26:55 +02:00
Michael Albinus
860bc0db1c
* test/lisp/filenotify-tests.el (file-notify--test-timeout): Change timing.
...
; * lisp/net/tramp-sh.el (tramp-sh-gio-monitor-process-filter):
; Remove test message.
2021-04-03 12:26:14 +02:00
Eli Zaretskii
3ec93bb7c2
Improve doc strings in replace.el
...
* lisp/replace.el (occur, list-matching-lines-prefix-face)
(list-matching-lines-jump-to-current-line): Doc fixes.
2021-04-03 10:16:34 +03:00
Stefan Kangas
d73229c48e
* lisp/pixel-scroll.el: Use lexical-binding.
2021-04-03 04:25:59 +02:00
Stefan Kangas
cd5dfa086d
Replace two functions with seq-subseq
...
* lisp/emacs-lisp/seq.el (seq-subseq): Add autoload cookie.
* lisp/eshell/esh-util.el (eshell-sublist): Redefine using seq-subseq
and make obsolete. Update callers.
* lisp/wid-edit.el (widget-sublist): Redefine as obsolete function
alias for seq-subseq. Update callers.
2021-04-03 03:11:35 +02:00
Stefan Kangas
be9e3c48fa
Remove redundant #' before lambda in eshell/*.el
...
* lisp/eshell/em-dirs.el (eshell-dirs-initialize):
* lisp/eshell/em-pred.el (eshell-predicate-alist)
(eshell-modifier-alist):
* lisp/eshell/em-script.el (eshell-script-initialize):
* lisp/eshell/eshell.el (eshell-command): Remove redundant #' before
lambda.
2021-04-03 03:11:35 +02:00
Stefan Monnier
0b613c90a5
* lisp/progmodes/simula.el: Use lexical-binding
...
(simula-tab-always-indent): Mark as obsolete.
(simula-mode-map): Don't bind TAB.
(simula-indent-command): Mark as obsolete.
(hilit-set-mode-patterns): Remove obsolete support for hilit19.
(simula-mode-syntax-table): Move initialization code into the declaration.
2021-04-02 19:51:41 -04:00
Stefan Kangas
5c7766ed10
Use lexical-binding in recentf.el
...
* lisp/recentf.el: Use lexical-binding. Doc fix.
(recentf-save-file): Strength reduce 'eval' to 'symbol-value'.
(recentf-trunc-list): Make into obsolete function alias for
'seq-take'. Update callers.
(recentf-show-file-shortcuts-flag): Doc fix.
(recentf-menu-elements, recentf-make-menu-items)
(recentf-make-menu-item, recentf-dialog-mode-map)
(recentf-dialog, recentf-open-files-item)
(recentf-open-files-items, recentf-open-files)
(recentf-load-list): Quote function symbols as such.
(recentf-relative-filter, recentf-file-name-nondir): Remove
redundant #' before lambda.
2021-04-03 00:53:47 +02:00
Stefan Kangas
74a86c1acf
Remove references to very old versions of Emacs from eintr
...
* doc/lispintro/emacs-lisp-intro.texi (Making Errors)
(Void Function, Void Variable, Wrong Type of Argument, debug)
(debug-on-entry): Remove commented out references to Emacs 20 or
earlier.
* doc/lispintro/emacs-lisp-intro.texi (what-line)
(print-elements-of-list, debug, X Axis Tic Marks): Don't call version
22 or earlier a "recent" version of Emacs.
2021-04-03 00:53:43 +02:00
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
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
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
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
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
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