Lars Ingebrigtsen
ce220524fc
Fix up previous "Quit Emacs" from menu logic
...
* lisp/files.el (files--buffers-needing-to-be-saved): Separated
out into its own function...
(save-some-buffers): ... from here.
(save-buffers-kill-emacs): Check that we have anything to save
before prompting the user.
2022-01-27 22:26:12 +01:00
Lars Ingebrigtsen
b8ddd94aac
Make the save buffers prompt from Quit Emacs menu more understandable
...
* lisp/files.el (save-buffers-kill-emacs): Use a much simpler (and
more understandable) prompt when exiting Emacs from the menu bar
(bug#4980).
* lisp/subr.el (use-dialog-box-p): Separate out into its own
function for reuse...
(y-or-n-p): ... from here.
2022-01-27 19:56:29 +01:00
Daniel Nicolai
d633db5189
Add support for EPUB, CBZ, FB2 and (O)XPS extension to doc view
...
* doc/emacs/misc.texi (Document View): Add requirements for new
extensions (i.e. mutool).
* lisp/doc-view.el (doc-view): Additionally update preliminary comment
(doc-view-custom-set-epub-font-size): redraw image after setting
(doc-view-unoconv-program): Put code all on one line
(doc-view-doc-type): Update docstring.
(doc-view-kill-proc): Fix comment indentation
(doc-view-mode-p):
Add check for new extensions and alternative check for PDF
(doc-view-pdf/ps->png): Associate new extension with png converter
(doc-view-convert-current-doc): Handle new extensions like PDF's
(doc-view-set-doc-type): Set correct doc-type for new extensions.
* lisp/files.el (auto-mode-alist):
Associate new extension types with doc-view.
2022-01-27 17:03:38 +01:00
Stefan Kangas
8f9f1701f6
Don't discourage auto-mode-alist entries in autoloads
...
* lisp/files.el (auto-mode-alist, interpreter-mode-alist): Delete
comment discouraging entries in autoload directives. (Bug#8158)
2022-01-27 03:57:45 +01:00
Lars Ingebrigtsen
ffb0e8c4ef
Make anonymous functions work in auto-mode-alist
...
* lisp/files.el (set-auto-mode--apply-alist): Don't infloop on
anonymous functions in auto-mode-alist (bug#20709).
2022-01-24 15:06:39 +01:00
Lars Ingebrigtsen
21a3bd9f36
Make message in hack-local-variables-confirm clearer
...
* lisp/files.el (hack-local-variables-confirm): Mention the
.dir-locals.el file in the message to be slightly less confusing
(bug#27066).
2022-01-23 17:09:55 +01:00
Stefan Monnier
2dad332a14
(hack-local-variables--find-variables): Use user-error
...
* lisp/files.el (hack-local-variables--find-variables):
Incorrect formatting are not coding errors.
2022-01-17 16:28:02 -05:00
Stefan Monnier
917a623a9d
Merge remote-tracking branch 'origin/emacs-28' into trunk
2022-01-12 15:57:29 -05:00
Glenn Morris
6e55127e04
* lisp/files.el (lock-file-name-transforms): Doc tweaks.
2022-01-12 10:36:05 -08:00
Stefan Monnier
f4e0562a2c
(hack-one-local-variable-constantp): Mark as obsolete
...
* lisp/files.el (hack-one-local-variable-constantp): Mark as obsolete.
(hack-one-local-variable-eval-safep): Use `macroexp-const-p` instead.
2022-01-10 22:37:16 -05:00
Stefan Monnier
73b15f45f9
Merge remote-tracking branch 'origin/emacs-28' into trunk
2022-01-10 22:34:55 -05:00
Stefan Monnier
74223bbdaf
(save-some-buffers): Simplify the fix for bug#46374
...
* lisp/files.el (save-some-buffers): Only check the
`save-some-buffers-function` property on functions from
`save-some-buffers-default-predicate` since callers which provide
a `pred` argument can arrange to compute `pred` themselves if needed.
* test/lisp/files-tests.el (files-tests-buffer-offer-save): Don't test
with `pred` set to `save-some-buffers-root` since it's not an
appropriate function for that any more.
2022-01-09 22:17:45 -05:00
Eli Zaretskii
dcd76bd48d
Merge from origin/emacs-28
...
836be7a112
; * etc/refcards/ru-refcard.tex: Update Copyright year.
86cbc6ee4a
* lisp/net/tramp-sh.el: Adapt copyright year
ebe8772f65
; Minor fixes related to copyright years
23c1ee6989
; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye...
8d3fc7ec89
* src/xfaces.c (face_for_font): Make 'hash' be uintptr_t.
19dcb237b5
; Add 2022 to copyright years.
# Conflicts:
# etc/NEWS
# etc/refcards/ru-refcard.tex
# lib/cdefs.h
# lisp/erc/erc-dcc.el
# lisp/erc/erc-imenu.el
# lisp/erc/erc-replace.el
# lisp/image-dired.el
# lisp/progmodes/xref.el
# m4/alloca.m4
# m4/byteswap.m4
# m4/errno_h.m4
# m4/getopt.m4
# m4/gnulib-common.m4
# m4/inttypes.m4
# m4/stddef_h.m4
# m4/stdint.m4
# m4/sys_socket_h.m4
2022-01-01 07:03:03 -05:00
Eli Zaretskii
19dcb237b5
; Add 2022 to copyright years.
2022-01-01 02:45:51 -05:00
Stefan Monnier
1a724cc2d2
Replace uniquify.el's advice with direct calls
...
This fixes bug#1338.
* src/buffer.c (Frename_buffer): Call `uniquify--rename-buffer-advice`.
* lisp/files.el (create-file-buffer):
Call`uniquify--create-file-buffer-advice`.
* lisp/uniquify.el (uniquify--rename-buffer-advice)
(uniquify--create-file-buffer-advice): Don't add them as advice any more.
Adjust their calling convention accordingly.
2021-12-27 20:59:16 -05:00
Lars Ingebrigtsen
9ea5a915bd
Make `C-c C-w' copy the executable bits to the new file
...
* lisp/files.el (write-file): When visiting an executable file,
make the new file executable, too (bug#18915).
2021-12-02 13:21:53 +01:00
Lars Ingebrigtsen
1914d946d6
Change how Dired displays available space
...
* doc/emacs/dired.texi (Misc Dired Features): Document it (bug#23812).
* lisp/dired.el (dired-free-space): New user option.
(dired-insert-directory): Use it from here.
(dired--insert-disk-space): New function that uses the user option.
* lisp/files.el (insert-directory): Don't transform "total" here.
* lisp/ls-lisp.el (ls-lisp--insert-directory): Or here. Instead
just leave the "total <num>" bit alone, and let Dired transform it.
* test/lisp/files-tests.el (files-tests): Move "available" tests
to dired-tests.
* test/lisp/dired-tests.el (data-dir): Moved here.
2021-12-01 23:27:19 +01:00
Lars Ingebrigtsen
ec3b6fa8e1
Make `C-x C-d' require either an existing directory or a wildcard
...
* lisp/files.el (list-directory): Require either an existing
directory or a wildcard (bug#25807).
2021-12-01 20:16:57 +01:00
Stefan Kangas
4a3ba8528b
Use substitute-command-keys for literal key sequences
...
* lisp/abbrev.el (expand-region-abbrevs):
* lisp/calc/calc-graph.el (calc-graph-show-dumb):
* lisp/calc/calc-help.el (calc-help-for-help):
* lisp/calc/calc-mode.el (calc-auto-why):
* lisp/calc/calc.el (calc-do):
* lisp/calculator.el (calculator-mode):
* lisp/dired-aux.el (dired-create-files)
(dired-do-create-files-regexp, dired-create-files-non-directory):
* lisp/dired-x.el (dired-virtual):
* lisp/dired.el (dired-mark-region, dired-unmark-all-files):
* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
* lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
* lisp/epa-ks.el (epa-ks--display-keys):
* lisp/erc/erc.el (erc-toggle-debug-irc-protocol):
* lisp/files.el (save-some-buffers):
* lisp/gnus/gnus-dired.el (gnus-dired-find-file-mailcap)
(gnus-dired-print):
* lisp/gnus/gnus-group.el (gnus-keep-same-level):
* lisp/gnus/gnus-score.el (gnus-score-find-trace):
* lisp/gnus/gnus.el (to-list):
* lisp/gnus/message.el (message--send-mail-maybe-partially):
* lisp/mail/supercite.el (sc-set-variable):
* lisp/minibuffer.el (minibuffer-inactive-mode):
* lisp/progmodes/etags.el (select-tags-table):
* lisp/progmodes/idlw-shell.el (idlwave-shell-mode)
(idlwave-shell-char-mode-loop):
* lisp/replace.el (query-replace-help):
* lisp/simple.el (set-variable):
* lisp/subr.el (read-char-from-minibuffer):
* lisp/textmodes/ispell.el (ispell-help, ispell-message):
* lisp/textmodes/reftex-global.el (reftex-find-duplicate-labels):
* lisp/textmodes/reftex-vars.el
(reftex-toc-include-file-boundaries)
(reftex-toc-include-labels, reftex-toc-include-index-entries)
(reftex-toc-include-context, reftex-toc-follow-mode)
(reftex-index-include-context, reftex-index-follow-mode)
(reftex-enable-partial-scans)
(reftex-auto-update-selection-buffers)
(reftex-highlight-selection):
* lisp/time.el (display-time-update):
* lisp/vc/ediff-help.el (ediff-help-for-quick-help):
* lisp/vc/ediff-init.el (ediff-keep-variants):
* lisp/vc/ediff-ptch.el (ediff-fixup-patch-map)
(ediff-patch-file-internal):
* lisp/windmove.el (windmove-delete-default-keybindings): Use
'substitute-command-keys' for literal key sequences.
* lisp/userlock.el (userlock--fontify-key): Remove function.
(ask-user-about-lock, ask-user-about-lock-help)
(ask-user-about-supersession-threat)
(ask-user-about-supersession-help): Use 'substitute-command-keys' for
literal key sequences.
* lisp/ibuffer.el (ibuffer-unmark-all): Use 'substitute-command-keys'
for command.
2021-11-22 12:04:19 +01:00
Stefan Monnier
64497fb8cc
* lisp/files.el (file-has-changed-p): Index the cache with absolute file names
2021-11-18 22:06:50 -05:00
Jim Porter
bf505a63f9
Support abbreviating home directory of Tramp filenames
...
* doc/lispref/files.texi (Magic File Names): Mention
'abbreviate-file-name' in the list of magic file name handlers.
* etc/NEWS: Announce the change.
* lisp/files.el (file-name-non-special):
* lisp/net/tramp.el (tramp-file-name-for-operation):
* lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
* lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist):
Add 'abbreviate-file-name'.
* lisp/files.el (directory-abbrev-make-regexp):
(directory-abbrev-apply): New functions.
(abbreviate-file-name): Check for file name handler.
* test/lisp/net/tramp-tests.el (tramp-test07-abbreviate-file-name):
New test.
2021-11-15 13:33:07 +01:00
Lars Ingebrigtsen
d75558f11c
Fix problem with non-absolute names
...
* lisp/files.el (file-name-split): Fix problem with non-absolute
names.
2021-11-11 13:20:38 +01:00
Lars Ingebrigtsen
2e6ed253ce
Add new function 'file-name-split'
...
* doc/lispref/files.texi (File Name Components): Document it.
* lisp/files.el (file-name-split): New function (bug#50572).
* lisp/emacs-lisp/shortdoc.el (file-name): Mention it.
2021-11-10 00:26:32 +01:00
Alan Mackenzie
9e34efb29a
Merge from origin/emacs-28
...
0c51db6bb1
Amend Follow Mode to handle header lines and tab lines cor...
261367781b
* lisp/files.el (user-emacs-directory-warning): Clarify do...
8d9b55330d
* doc/emacs/frames.texi (Tab Bars): Add text about mouse a...
d9b0b730e8
* doc/emacs/frames.texi (Tab Bars): Describe tab-last.
2021-11-07 20:53:21 +00:00
Stefan Kangas
261367781b
* lisp/files.el (user-emacs-directory-warning): Clarify docstring.
2021-11-07 19:48:45 +01:00
Michael Albinus
a08a9a9aea
Improve `file-has-changed-p'
...
* doc/lispref/files.texi (File Attributes): Be precise when
filename does not exist in `file-has-changed-p'.
* lisp/files.el (file-has-changed-p): Suppress remote file caches.
Handle the case FILE does not exists.
2021-11-05 20:46:35 +01:00
Eli Zaretskii
4f851c2357
; Improve documentation of a recent change
...
* lisp/files.el (file-has-changed-p): TAG must be a symbol.
* doc/lispref/files.texi (File Attributes): Fix typos.
2021-11-02 17:09:05 +02:00
Gregory Heytings
53a9a2de45
Improve file-has-changed-p
...
* doc/lispref/files.texi: Update the documentation.
* lisp/net/mailcap.el: Add a second argument to the call to
file-has-changed-p (bug#51523).
2021-11-02 15:50:31 +01:00
Gregory Heytings
daea9b3b44
Read mailcaps again only when necessary
...
* doc/lispref/files.texi (File Attributes): Document it.
* lisp/files.el (file-has-changed-p): New function.
(file-has-changed-p--hash-table): Internal variable used by the
new function (bug#51523).
* lisp/emacs-lisp/shortdoc.el (file): Mention it.
* lisp/net/mailcap.el (mailcap-parse-mailcaps): Read mailcaps again
only when at least one of the mailcap files has changed. Fixes
bug#51523.
2021-11-01 14:51:57 +01:00
Eli Zaretskii
0abf01402b
Merge from origin/emacs-28
...
f1c9286
; * doc/misc/org.org: fix capture context example
af67ce6
Merge branch 'emacs-28' of git.savannah.gnu.org:/srv/git/emac...
610680a
Fix rendering of title-less <abbr> tags in shr
2ba4ccf
; * lisp/files.el (make-nearby-temp-file): Doc fix.
2021-10-31 18:46:29 +02:00
Eli Zaretskii
2ba4ccf290
; * lisp/files.el (make-nearby-temp-file): Doc fix.
2021-10-31 17:20:16 +02:00
Lars Ingebrigtsen
46941bcc2a
Allow viewing .heic images via image-convert
...
* lisp/files.el (auto-mode-alist): Support the Apple .heic/HEIF
image format (bug#51381).
2021-10-25 17:19:32 +02:00
Stefan Kangas
bc2a5c1127
Add WebP image format support (Bug#51296)
...
* configure.ac (--with-webp): New option.
(HAVE_WEBP): New variable.
(emacs_config_features): Add webp.
* src/image.c (enum webp_keyword_index) [HAVE_WEBP]: New enum.
(webp_format) [HAVE_WEBP]: New variable.
(webp_image_p, init_webp_functions, webp_load) [HAVE_WEBP]: New
functions for WebP support.
(image_types) [HAVE_WEBP]: Define WebP format.
(syms_of_image) <Qwebp> [HAVE_WEBP]: New DEFSYM. Add image type Qwebp.
* src/Makefile.in (LIBIMAGE): Add WEBP_LIBS.
* lisp/files.el (auto-mode-alist):
* lisp/image-file.el (image-file-name-extensions):
* lisp/image.el (image-type-header-regexps)
(image-type-file-name-regexps, image-type-auto-detectable): Add WebP
support.
* lisp/term/w32-win.el (dynamic-library-alist): Add the libwebp DLL.
* INSTALL:
* admin/CPP-DEFINES:
* doc/lispref/display.texi (Image Formats, Other Image Types):
* nt/INSTALL: Document WebP support.
* test/lisp/image-tests.el (image-find-image)
(image-type-from-file-name): Expand tests.
* test/src/image-tests.el (image-tests--files): Add WebP.
(image-tests-image-size/webp, image-tests-image-mask-p/webp)
(image-tests-image-metadata/webp): New tests.
* test/data/image/black.webp: New file.
2021-10-22 10:59:01 +02:00
Stefan Kangas
885448d1e6
; Revert parts of previous commit
...
* admin/unidata/unidata-gen.el (unidata-gen-table)
(unidata-gen-table-symbol, unidata-gen-table-integer)
(unidata-gen-table-numeric, unidata-gen-table-word-list)
(unidata-describe-decomposition):
* lisp/composite.el (unicode-category-table):
* lisp/files.el (recover-file):
* lisp/frame.el (frames-on-display-list, frame-background-mode):
* lisp/language/indian.el (script-regexp-alist): Revert parts of
previous commit; it seemed innocent but caused issues.
2021-10-22 07:51:45 +02:00
Stefan Kangas
357d273d2e
Remove redundant #' before lambda
...
* admin/unidata/unidata-gen.el (unidata-gen-table)
(unidata-gen-table-symbol, unidata-gen-table-integer)
(unidata-gen-table-numeric, unidata-gen-table-word-list)
(unidata-describe-decomposition):
* lisp/apropos.el (apropos-user-option):
* lisp/bookmark.el (bookmark-bmenu-search):
* lisp/composite.el (unicode-category-table):
* lisp/elec-pair.el (electric-pair--balance-info):
* lisp/electric.el (electric-quote-chars):
* lisp/emulation/cua-base.el (cua-rectangle-mark-key):
* lisp/epa-hook.el (epa-file-encrypt-to):
* lisp/faces.el (face-font-selection-order)
(face-font-family-alternatives, face-font-registry-alternatives)
(face-valid-attribute-values, tty-run-terminal-initialization):
* lisp/files.el (recover-file, file-expand-wildcards):
* lisp/frame.el (frames-on-display-list):
* lisp/help-at-pt.el (help-at-pt-display-when-idle):
* lisp/help-fns.el (help-fns--face-attributes):
* lisp/ido.el (ido-mode, ido-unc-hosts):
* lisp/isearch.el (isearch-highlight-regexp)
(isearch-highlight-lines-matching-regexp):
* lisp/language/indian.el (script-regexp-alist):
* lisp/language/lao.el:
* lisp/leim/quail/ipa.el (ipa-x-sampa-prepend-to-keymap-entry):
* lisp/mh-e/mh-folder.el (mh-process-commands):
* lisp/mh-e/mh-mime.el (mh-display-with-external-viewer):
* lisp/ps-mule.el (ps-mule-end-job):
* lisp/ps-print.el (ps-color-scale, ps-background-pages)
(ps-background-text, ps-background-image, ps-background)
(ps-begin-job, ps-print-translation-table):
* lisp/recentf.el (recentf-sort-ascending)
(recentf-sort-descending, recentf-sort-basenames-ascending)
(recentf-sort-basenames-descending)
(recentf-sort-directories-ascending)
(recentf-sort-directories-descending):
* lisp/replace.el (occur-engine-add-prefix):
* lisp/select.el (xselect--encode-string):
* lisp/server.el (server-use-tcp):
* lisp/ses.el (ses-sort-column):
* lisp/sort.el (sort-columns):
* lisp/term/ns-win.el (window-system-initialization):
* lisp/tree-widget.el (tree-widget-image-formats):
* lisp/whitespace.el (whitespace-report-region): Remove redundant #'
before lambda.
2021-10-21 23:35:07 +02:00
Glenn Morris
8aceb37b47
Merge from origin/emacs-28
...
1a1b206a8b
Adapt the recent 'num_processors' change to MS-Windows
7cb4637923
Minor fix to clarify a sentence in emacs-lisp-intro
ab60144ea3
; Pacify recent shorthand unused lexarg warnings.
e9df86004f
Make tty-run-terminal-initialization load the .elc file (i...
07edc28bdb
Fix ert errors when there's a test that binds `debug-on-er...
96278de8ac
New function num-processors
575e626105
Add symbol property 'save-some-buffers-function' (bug#46374)
a3e10af95c
Keep reading when typed RET in read-char-from-minibuffer a...
013e3be832
* lisp/userlock.el (ask-user-about-supersession-threat): A...
ae61d7a57d
Fix point positioning on mouse clicks with non-zero line-h...
4c7e74c386
Complete shorthands to longhands for symbol-completing tables
c2513c5d0d
Add new failing test for bug#51089
1d1e96377c
; * lisp/emacs-lisp/shortdoc.el: Fix typo.
6bf29072e9
Avoid mapping file names through 'substring'
bcce93f04c
Update to Org 9.5-46-gb71474
5d408f1a24
Expanded testing of MH-E with multiple MH variants
b497add971
Fix Seccomp filter for newer GNU/Linux systems (Bug#51073).
75d9fbec88
Tramp code cleanup
# Conflicts:
# etc/NEWS
# test/lisp/progmodes/elisp-mode-tests.el
2021-10-11 08:04:57 -07:00
Juri Linkov
575e626105
Add symbol property 'save-some-buffers-function' (bug#46374)
...
* lisp/files.el (save-some-buffers-root): Put non-nil
symbol property 'save-some-buffers-function'.
(save-some-buffers): Check pred for the
symbol property 'save-some-buffers-function'.
(save-some-buffers-default-predicate): Mention
symbol property 'save-some-buffers-function'.
2021-10-10 20:38:12 +03:00
Glenn Morris
2dc88a27a4
Merge from origin/emacs-28
...
63abe976ce
(origin/emacs-28) Document minibuffer-default-prompt-forma...
b5afbedc90
Backward compatibility option for 'nobreak-char-display'
ea1b728a06
; * lisp/dired.el: Fix typo.
984eafeb98
Unbreak the build after Gnulib update
5946370cd1
Check, whether an FUSE mount has been broken in Tramp
90575a6c0c
Disable 'nobreak-char-display' in Eldoc buffers
570e2c9a17
Fix small error in comint-send-input
fd7bb31412
Update documentation of search-whitespace-regexp
1f4ced47a1
Fix cc-compat.el syntax error
b431f54c1b
Mention `seq-uniq' in `delete-dups' documentation
0a7bab689c
; Minor stylistic fixes found by checkdoc
e2861e2d08
; * etc/NEWS: Fix typo.
1a65d49931
Port recent Gnulib changes to MS-Windows
68a256c892
Update from Gnulib
63cb65dcce
* Fix mh tests for native comp builds (bug#50975)
e606cc6f40
* Fix `batch-native-compile' not to spawn a subprocess
894dfe70da
Fix native-compilation build from tarball on Cygwin
2ce5e08058
Remove U+FE0F from script-representative-chars
# Conflicts:
# etc/NEWS
2021-10-05 07:50:22 -07:00
Stefan Kangas
0a7bab689c
; Minor stylistic fixes found by checkdoc
2021-10-05 02:06:57 +02:00
Glenn Morris
e0fdb68f8c
Merge from origin/emacs-28
...
3b8dda6c90
Add safety check in x_menu_show
e1fb731393
Tweak x_connection_closed when I/O error
595e506c82
* lisp/erc/erc.el (erc-user-mode): Set "+i" by default.
d00f3d4c05
Port unused decls to C2x
317eb2d5b5
Improve structure of TODO
c0793cd9de
Don't use some obsolete names in documentation
87153cc915
Tweak x_hide_tip for consistency
7e871dcd27
Remove encode_terminal_code UNINITs
2a00634880
Port pdumper.c maybe_unused to C2x
6d9b3c0eaa
Port systhreads.h to C2x
fd274d7d24
Pacify -Wanalyzer-null-argument in lisp_malloc
cc3fc94f09
Pacify gcc 11.2.1 -Wanalyzer-null-argument
d3a832a61a
Simplify hack-read-symbol-shorthands again (bug#50946)
4831426158
Fix recipe for 'native-lisp' directory
0bb42ef803
; * lisp/time-stamp.el (time-stamp-format): Doc string.
732c70a0d9
Simplify socket symlink-attack checking
fc32a3bd95
; * doc/lispref/files.texi (Reading from Files): Fix wording.
3cc77aa976
Clarify (elisp) insert-file-contents with BEG or END not o...
5deeb0947d
* src/Makefile.in: Simplify conditionals.
121a5abeae
Move context-menu selection items Defun/List/Symbol to pro...
0c341e6e84
* lisp/tab-bar.el (tab-bar-detach-tab): Handle frame selec...
931a7276c0
* lisp/tab-line.el (tab-line-format): Add face-modified to...
3863919a00
Fix unmounting in Tramp
7a6d34cd1f
* etc/themes/light-blue-theme.el: Add "Maintainer: emacs-d...
c1b1e1f545
Define HAVE_NATIVE_COMP in src/Makefile.in
137fa2d716
Rename elisp-shorthands to read-symbol-shorthands
e6fbc45b7b
Font-lock shorthands in elisp-mode for quick visual recogn...
17e6f3bee5
; Fix last change in tramp-sshfs.el
3dae1e33d1
Suppress superfluous error messages in Tramp
b228ec9fab
Fix reading the tail of a file in shorthands.el
7fb2789509
Fix substitution of pretty quotes in code in easy-mmode
b47d7ce1b8
Fix agent directory deletion
b1a8a66fb0
; * etc/TODO: Fix previous commit; delete the right thing.
6c01a21365
Clarify the purpose of internal--format-docstring-line
55dadbc57e
* lisp/net/dictionary.el (context-menu-dictionary): Move m...
bb209cd5ab
Update to Org 9.5-30-g10dc9d
4341e79a5f
Remove bogus ":safe t" custom properties
b6f6b593c6
Fix 'apropos-compact-layout'
62d6cecfcd
Remove bogus ":safe nil" custom properties
f9111d8784
The safe-local-variable property is a function (bug#50944)
3dc094abee
; Some minor tweaks to TODO
a5b4356d37
Revert "; * etc/TODO: Move elpa.gnu.org items to the end."
7bc0cee115
Revert "* etc/TODO: Rearrange to start with "Simple tasks"."
3489471417
Fix selection of fonts for Arabic on Posix platforms
13e5943386
; Fix a typo in a doc string
bd60fca2fa
Fix ox-koma-letter compilation warnings
340e527bed
Preload paren.el
a9052248da
Improve documentation of 'shift-select-mode'
d505971894
; Standardize some license headers
9307889d68
Simplify shorthand injection (bug#50946)
5c77cc9584
; * admin/release-branch.txt: Tweak previous.
# Conflicts:
# etc/NEWS
# test/lisp/subr-tests.el
2021-10-04 08:13:11 -07:00
Eli Zaretskii
13e5943386
; Fix a typo in a doc string
...
* lisp/files.el (hack-local-variables--find-variables): Fix typo
in the doc string.
2021-10-02 15:57:51 +03:00
Lars Ingebrigtsen
1a65320903
Add new functionality to write buffer-based tests
...
* doc/misc/ert.texi (erts files): New node.
* lisp/files.el (auto-mode-alist): Map .erts to erts-mode.
* lisp/emacs-lisp/ert.el (ert-test-erts-file): New function.
* lisp/emacs-lisp/ert.el (ert--erts-specifications)
(ert--erts-unquote): Helper functions.
* lisp/progmodes/erts-mode.el: New mode and file.
2021-10-01 12:17:47 +02:00
Lars Ingebrigtsen
83e08dfef3
save-some-buffers-root doc string change
...
* lisp/files.el (save-some-buffers-root): Improve doc string.
2021-09-25 07:32:48 +02:00
Stefan Kangas
aebba085cb
; More minor stylistic fixes found by checkdoc
2021-09-22 20:26:40 +02:00
John Cummings
b95157de2d
Fix disk-free info in 'insert-directory'
...
* lisp/files.el (insert-directory): Call 'get-free-disk-space'
with the argument FILE, to make sure the reported info is for the
correct volume. (Bug#50630)
Copyright-paperwork-exempt: yes
2021-09-17 10:03:15 +03:00
Stefan Kangas
63f419f133
; Minor stylistic fixes found by checkdoc
2021-09-16 19:37:07 +02:00
Lars Ingebrigtsen
5ee05fa75d
Fix typo in previous files.el change
2021-09-13 15:32:20 +02:00
Lars Ingebrigtsen
59ff342869
Mention unibyte issues in insert-file-contents-literally doc string
...
* lisp/files.el (insert-file-contents-literally): Mention possible
issues with multibyte buffers (bug#50560).
2021-09-13 15:17:06 +02:00
Stefan Kangas
f02624b342
; Minor doc fixes found by checkdoc
2021-09-13 06:44:52 +02:00
Lars Ingebrigtsen
7a4d823b39
Fix revert-buffer' message in
find-file-select'
...
* lisp/files.el (find-file-noselect): Refer to revert-buffer-quick
here since we're in a file-based buffer.
2021-09-03 07:48:10 +02:00