optional.
* src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS
- to POSITION to keep consisteny with doc-string.
+ to POSITION to keep consistent with doc-string.
2016-02-01 Paul Eggert <eggert@cs.ucla.edu>
* lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
(package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
- as special keywords which match agains package archive and status
+ as special keywords which match against package archive and status
respectively.
* etc/NEWS: Document it.
Add query command removed in 4ff1f66b12
- * lisp/net/rcirc.el (query): Readd accidentally removed command
+ * lisp/net/rcirc.el (query): Re-add accidentally removed command.
2021-07-06 Philip Kaludercic <philipk@posteo.net>
EIEIO: Promote the CLOS behavior over the EIEIO-specific behavior
- Change docs to advertize `slot-value` rather than `oref`.
+ Change docs to advertise `slot-value` rather than `oref`.
Change the implementation of `:initform` to better match the CLOS semantics,
while preserving the EIEIO semantics, but warn when encountering cases
where the two diverge.
* lisp/emacs-lisp/eieio.el (defclass): Warn about inapplicable
`:initarg` and about uses of init forms that are ambiguous.
- (oref): Don't advertize the deprecated use of initargs as slot names.
- (oref-default): Don't advertize the deprecated case where it returns the
+ (oref): Don't advertise the deprecated use of initargs as slot names.
+ (oref-default): Don't advertise the deprecated case where it returns the
initform's value.
(initialize-instance): Use `macroexp-const-p`.
* lisp/emacs-lisp/eieio-core.el (eieio--unbound): Rename from
2021-02-24 Andrea Corallo <akrl@sdf.org>
- Fix async compilation and paramenter naming
+ Fix async compilation and parameter naming
* lisp/emacs-lisp/comp.el (native--compile-async)
(native-compile-async): Fix broken parameter renaming.
* lisp/simple.el (recenter-current-error): New command.
* lisp/progmodes/grep.el (grep-mode-map):
- Delete bidings for n and p.
+ Delete bindings for n and p.
* lisp/progmodes/compile.el (compilation-minor-mode-map):
Move here the n and p bindings.
in a global minor mode. This commit fixes bug #45792.
* lisp/international/quail.el (quail-show-guidance): Test the major mode is
- not minibuffer-inactive-mode before proceding with the function.
+ not minibuffer-inactive-mode before proceeding with the function.
2021-01-31 Lars Ingebrigtsen <larsi@gnus.org>
c-laomib-loop. Insert code which calls c-laomib-loop minimally, with the help
of the new cache.
- * lisp/progmodes/cc-mode.el (c-basic-common-init): Initialize the new cach
+ * lisp/progmodes/cc-mode.el (c-basic-common-init): Initialize the new cache
(at mode start).
(c-before-change): Invalidate the new cache.
(c-fl-decl-start): Add an extra check (> (point) bod-lim) to prevent looping.
Optimize c-parse-state for large buffers with few (if any) braces.
* lisp/progmodes/cc-engine.el (c-get-fallback-scan-pos): Search a maximum of
- 50,000 characters back for the two BODs. Return nil if we dont' find them.
+ 50,000 characters back for the two BODs. Return nil if we don't find them.
(c-parse-state-get-strategy): For strategy `forward', always use the position
`good-pos' for `start-point', even when there's a change of current macro.
Deal with a possible return value of nil from c-get-fallback-scan-pos (as
2020-11-12 Andrea Corallo <akrl@sdf.org>
- Unline some functions to optimize bootstrap time
+ Uninline some functions to optimize bootstrap time
* lisp/emacs-lisp/comp.el (comp-mvar-value-vld-p)
(comp-mvar-value, comp-mvar-fixnum-p, comp-set-op-p)
2020-11-07 Andrea Corallo <akrl@sdf.org>
- Allow for manually bumbing new native compiler ABI versions
+ Allow for manually bumping new native compiler ABI versions
* src/comp.c (ABI_VERSION): Define macro.
(hash_native_abi): Include ABI_VERSION in the hashing.
2020-10-14 Andrea Corallo <akrl@sdf.org>
- Have `native-elisp-load' return the last registerd function
+ Have `native-elisp-load' return the last registered function
* lisp/emacs-lisp/comp.el (comp-emit-for-top-level): Synthesize
'top_level_run' so it returns the last value returned by
Better error handling after calling 'gcc_jit_context_compile_to_file'
- Typically errors are catched in 'compile_function' but in case
+ Typically errors are caught in 'compile_function' but in case
libgccjit throw an error only afterwards while compiling the whole
compilation unit we have to report it correctly.
Add a simple pass to infer pure functions not explicitly declared as
such. Use this information only during compilation (speed 3) to
- optimize out function calls whe possible.
+ optimize out function calls when possible.
2020-07-09 Andrea Corallo <akrl@sdf.org>
(comp-latch-make-fill): New function.
(comp-emit-uncond-jump, comp-emit-cond-jump): Update to emit
latches.
- (comp-new-block-sym): Add a postfix paramenter.
+ (comp-new-block-sym): Add a postfix parameter.
2020-06-13 Andrea Corallo <akrl@sdf.org>
Fix comp-call-optim-form-call for null `callee'
* lisp/emacs-lisp/comp.el (comp-call-optim-form-call): Guard
- agains null `calle'.
+ against null `calle'.
2020-06-07 Glenn Morris <rgm@gnu.org>
Fix bug #40992 whilst still allowing breakpoint highlights in edebug
Strategy: when an instrumented function gets re-evaluated, save the former
- value of its symbol's `edebug' property in the new propery `ghost-edebug'. If
+ value of its symbol's `edebug' property in the new property `ghost-edebug'. If
this function is still being edebugged, edebug will then access its info from
this new property.
Implement position independent dump.
- Set the filename for every compilation unit as realtive to obtain a
+ Set the filename for every compilation unit as relative to obtain a
position independent dump.
* lisp/loadup.el: Modify filename for every compilation unit as
* lisp/arc-mode.el: Rewrite displaying the summaries
- Completely rewrite the code that displayes the summaries, so all
+ Completely rewrite the code that displays the summaries, so all
backends share the same code.
(archive--summarize-descs): New function.
Merge remote-tracking branch 'savannah/master' into HEAD
-2020-03-10 AndreaCorallo <akrl@sdf.org>
+2020-03-10 Andrea Corallo <akrl@sdf.org>
* Improve load_comp_unit
Guard also data_ephemeral_vec against compiler optimizations.
-2020-03-10 AndreaCorallo <akrl@sdf.org>
+2020-03-10 Andrea Corallo <akrl@sdf.org>
* Fix store_function_docstring for native functions
native_intspec and native_doc fields has to be reached by the subr
cause are not anymore in the CU.
-2020-03-10 AndreaCorallo <akrl@sdf.org>
+2020-03-10 Andrea Corallo <akrl@sdf.org>
* Set relocation class as ephemeral in `comp-limplify-top-level'
* lisp/replace.el (occur-1): Update default-directory in occur buffer.
-2020-03-04 AndreaCorallo <akrl@sdf.org>
+2020-03-04 Andrea Corallo <akrl@sdf.org>
* Do not crash if the output directory is created in the meanwhile
-2020-03-03 AndreaCorallo <akrl@sdf.org>
+2020-03-03 Andrea Corallo <akrl@sdf.org>
Hash eln ABI once and add it to the output compilation path
Fix org for eln new compilation folder layout
-2020-03-03 AndreaCorallo <akrl@sdf.org>
+2020-03-03 Andrea Corallo <akrl@sdf.org>
Rework `find-lisp-object-file-name'
and 'fill-column' values. (Bug#36837)
(whitespace-lines-regexp): New function.
-2020-03-01 AndreaCorallo <akrl@sdf.org>
+2020-03-01 Andrea Corallo <akrl@sdf.org>
* ; Clean-up out of date comment
* src/pdumper.c (dump_object): Fix hash for Lisp_Type after commit
202c3319a28c029d6971dccea92f92425c5e8067.
-2020-02-29 AndreaCorallo <akrl@sdf.org>
+2020-02-29 Andrea Corallo <akrl@sdf.org>
Introduce 'effective_load_path'
-2020-02-29 AndreaCorallo <akrl@sdf.org>
+2020-02-29 Andrea Corallo <akrl@sdf.org>
* Keep comp-subr-list into pure space
(lispref/modes.texi): Explain avoiding lambdas on hooks.
-2020-02-06 AndreaCorallo <akrl@sdf.org>
+2020-02-06 Andrea Corallo <akrl@sdf.org>
Add system-configuration in the compilation output path
Add function ssa-status as `comp-func' slot and have `comp-clean-ssa'
to run when necessary.
-2020-03-01 AndreaCorallo <akrl@sdf.org>
+2020-03-01 Andrea Corallo <akrl@sdf.org>
Remove relocation index form LIMPLE setimm
Merge remote-tracking branch 'savannah/master' into HEAD
-2020-02-26 AndreaCorallo <akrl@sdf.org>
+2020-02-26 Andrea Corallo <akrl@sdf.org>
* ; Add a TODO for a future optimization
-2020-02-26 AndreaCorallo <akrl@sdf.org>
+2020-02-26 Andrea Corallo <akrl@sdf.org>
Store optimize qualities into .eln files
For now just comp-speed and comp-debug are stored.
-2020-02-26 AndreaCorallo <akrl@sdf.org>
+2020-02-26 Andrea Corallo <akrl@sdf.org>
- Rename d-base allocation classe into d-default
+ Rename d-base allocation class into d-default
-2020-02-26 AndreaCorallo <akrl@sdf.org>
+2020-02-26 Andrea Corallo <akrl@sdf.org>
Add ephemeral relocation data class
Test 'comp-eq' should not assume any string hashing policy
-2020-02-21 AndreaCorallo <akrl@sdf.org>
+2020-02-21 Andrea Corallo <akrl@sdf.org>
Emit 'top_level_run' objects as impure
Verify '--with-nativecomp' has also '--with-dumping=pdumper'
-2020-02-21 AndreaCorallo <akrl@sdf.org>
+2020-02-21 Andrea Corallo <akrl@sdf.org>
Reorder m-var slots
Use `sxhash-eq' to generate mvar SSA ids
-2020-02-15 AndreaCorallo <akrl@sdf.org>
+2020-02-15 Andrea Corallo <akrl@sdf.org>
Speed 2 goes default
Every function call by reference gets use one unique array of
arguments.
-2020-02-14 AndreaCorallo <akrl@sdf.org>
+2020-02-14 Andrea Corallo <akrl@sdf.org>
Clean-up old gc disable refuse in comp-tests-non-locals
Always define subr-native-elisp-p also without native compiler
-2020-02-03 AndreaCorallo <akrl@sdf.com>
+2020-02-03 Andrea Corallo <akrl@sdf.com>
Fix load_comp_unit for non zero speeds
optimize primitive native call
- propagate contant types and optimize self calls
+ propagate constant types and optimize self calls
introduce stack_el_t
2021-02-03 Michael Albinus <michael.albinus@gmx.de>
- Fix an error in tramp-sh-handle-make-process. Dont' merge with master
+ Fix an error in tramp-sh-handle-make-process. Don't merge with master
* lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Don't use heredoc
script whent the argument contains a string.
vc-hg: prompt for branch to merge
* lisp/vc/vc-hg.el (vc-hg-merge-branch): Prompt for revision to merge.
- (vc-hg-revision-table): Use branches, tags and bookmarks as competion
+ (vc-hg-revision-table): Use branches, tags and bookmarks as completion
candidates.
* etc/NEWS: Mention changes of vc-hg.el
open-paren-in-column-0-is-defun-start to nil) fixes bug #37910. It may also
have fixed bug #5490 and bug #18072.
- * lisp/progmodes/cc-engine.el (c-state-cache-non-literal-place): Remove thi
+ * lisp/progmodes/cc-engine.el (c-state-cache-non-literal-place): Remove this
non-sensical function, replacing it with ....
(c-state-cache-lower-good-pos): New function.
(c-renarrow-state-cache, c-append-lower-brace-pair-to-state-cache)
Fix reversed check in mm-possibly-verify-or-decrypt
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Fix
- reverse check thinko that made unverified singed messages not
+ reverse check thinko that made unverified signed messages not
display correctly.
2019-09-27 Wilson Snyder <wsnyder@wsnyder.org>
(readbyte_from_file): Assert that `infile` is set.
(close_infile_unwind): Reset `infile` to its previous value rather than
to NULL.
- (Fload): Remember the previous value of `infile` before chaning it.
+ (Fload): Remember the previous value of `infile` before changing it.
(readevalloop): Don't set `infile` any more.
2019-07-31 Paul Eggert <eggert@cs.ucla.edu>
8192 bytes is a reasonable number nowadays given typical file
system design.
* test/lisp/image-tests.el (image-tests--emacs-images-directory):
- New contant.
+ New constant.
(image-type-from-file-header-test): New test.
2019-05-18 Michael Albinus <michael.albinus@gmx.de>
Check gnus-newsgroup-dependencies is hash table in gnus-id-to-thread
* lisp/gnus/gnus-sum.el (gnus-id-to-thread): If dependencies haven't
- been initialized yet, don't blow up. Mimicks previous (non hasht
+ been initialized yet, don't blow up. Mimics previous (non hash
table) behavior.
2019-03-31 Mattias Engdegård <mattiase@acm.org>
* src/lisp.h (COMMON_MULTIPLE): Move here from alloc.c.
* src/thread.c (THREAD_ALIGNMENT): New macro.
- (main_thread): Use THREAD_ALIGNMENT to align propertly. (Bug#29040)
+ (main_thread): Use THREAD_ALIGNMENT to align properly. (Bug#29040)
2017-10-28 Eli Zaretskii <eliz@gnu.org>
Add mode map to Flymake diagnostic button
* lisp/progmodes/flymake.el (flymake--diagnostics-buffer-entries): Add
- keymap propery.
+ keymap property.
2017-10-10 João Távora <joaotavora@gmail.com>
2017-08-09 Tino Calancha <tino.calancha@gmail.com>
- Ask files for deletion in buffer order: top first, botton later
+ Ask files for deletion in buffer order: top first, bottom later
* lisp/dired.el (dired-do-flagged-delete, dired-do-delete):
Call `nreverse' t invert the output of `dired-map-over-marks'.
Revamp quitting and fix infloops
- This fixes some infinite loops that cannot be quitted out of,
+ This fixes some infinite loops that cannot be quit out of,
e.g., (defun foo () (nth most-positive-fixnum '#1=(1 . #1#)))
when byte-compiled and when run under X. See:
https://lists.gnu.org/r/emacs-devel/2017-01/msg00577.html
* lib/stdint.in.h, m4/extensions.m4, m4/stdint.m4, m4/stdio_h.m4:
* m4/sys_types_h.m4: Copy from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
- * lib/limits.in.h, m4/limits-h.m4: New files, copie from gnulib.
+ * lib/limits.in.h, m4/limits-h.m4: New files, copied from gnulib.
* nt/gnulib.mk: Merge changes from lib/gnulib.mk.
2016-09-15 Michael Albinus <michael.albinus@gmx.de>
2016-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
- Check actual contents before promting about changed file
+ Check actual contents before prompting about changed file
* lisp/userlock.el (userlock--check-content-unchanged)
(userlock--ask-user-about-supersession-threat): New functions.
* lisp/progmodes/cc-mode.el (c-after-change): When we detect a missing
invocation of c-before-change-functions, we assume the changed region is the
- entire buffer, and call c-before-change explicitly before proceding.
+ entire buffer, and call c-before-change explicitly before proceeding.
2016-08-09 Alan Mackenzie <acm@muc.de>
2016-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
- Advertize set-keymap-parent as replacement for copy-keymap
+ Advertise set-keymap-parent as replacement for copy-keymap
* doc/lispref/keymaps.texi (Creating Keymaps):
- * src/keymap.c (Fcopy_keymap): Advertize set-keymap-parent as replacement.
+ * src/keymap.c (Fcopy_keymap): Advertise set-keymap-parent as replacement.
2016-06-15 Ted Zlatanov <tzz@lifelogs.com>
Fix Bug#10085
* lisp/net/tramp.el (tramp-find-foreign-file-name-handler):
- Add optional arguments OPERATION and COMPETION. Handle
+ Add optional arguments OPERATION and COMPLETION. Handle
`file-name-as-directory', `file-name-directory' and
`file-name-nondirectory' also in completion mode.
(tramp-file-name-handler): Use it. (Bug#10085)
of the data end marker from here... (bug#23020).
(smtpmail-send-data): ... to here, so that we don't get a
"Sending done" before we've sent the final "." (which can make
- the SMPT server reject the email.
+ the SMTP server reject the email.
2016-04-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
* dired.texi (Dired Deletion, Marks vs Flags): Document Emacs 24.3
changes to the mark and unmark commands.
- (Comparison in Dired): Document chages to dired-diff. Remove M-=,
+ (Comparison in Dired): Document changes to dired-diff. Remove M-=,
which is no longer bound to dired-backup-diff.
2012-10-23 Bastien Guerry <bzg@gnu.org>
The option @code{dired-create-destination-dirs-on-trailing-dirsep},
when set in addition to @code{dired-create-destination-dirs}, controls
-wether a trailing directory separator at the destination is treated
+whether a trailing directory separator at the destination is treated
specially. In that case, when renaming a directory @samp{old} to
@samp{new/} and no directory @samp{new} exists already, it will be
created and @samp{old} is moved into the newly created directory.
2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
- * org.texi (The clock table): Mention that ACHIVED trees
+ * org.texi (The clock table): Mention that ARCHIVED trees
contribute to the clock table.
2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
- * tramp.texi:
- Replace "delimet" with "delimit" globally.
- Replace "explicite" with "explicit" globally.
- Replace "instead of" with "instead" where there was nothing after "of".
- Audit use of comma before interrogative pronoun, "that", or "which".
- Minor word order, spelling, wording changes.
+ * tramp.texi: Minor word order, spelling, wording changes.
2011-02-04 Teodor Zlatanov <tzz@lifelogs.com>
2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
* org.texi (Effort estimates): Document new effort setting commands.
- (Agenda commands): Document the new keys fro agenda time motion.
+ (Agenda commands): Document the new keys for agenda time motion.
Document entry text mode. Improve documentation of the keys to include
inactive time stamps into the agenda view.
(Feedback): Document the new bug report command.
@itemize @bullet
@item
Fixed bug with @samp{%F} in a label prefix. Added new escapes
-@samp{%m} and @samp{%M} for mater file name and master directory.
+@samp{%m} and @samp{%M} for master file name and master directory.
@end itemize
@noindent @b{Version 4.24}
@var{ch} could not be found (@code{vip-find-char-backward}).
@item t @var{ch}
@kindex 164 t @r{(}@code{vip-goto-char-forward}@r{)}
-Move point forward upto the character @var{ch} on the line. Signal error if
+Move point forward up to the character @var{ch} on the line. Signal error if
@var{ch} could not be found (@code{vip-goto-char-forward}).
@item T @var{ch}
@kindex 124 T @r{(}@code{vip-goto-char-backward}@r{)}
-Move point backward upto the character @var{ch} on the line. Signal error if
+Move point backward up to the character @var{ch} on the line. Signal error if
@var{ch} could not be found (@code{vip-goto-char-backward}).
@item ;
@kindex 073 ; @r{(}@code{vip-repeat-find}@r{)}
**** Improved support of header arguments for postgresql
-The postgresql engine in a sql code block supports now ~:dbport~ nd
+The postgresql engine in a sql code block now supports ~:dbport~ and
~:dbpassword~ as header arguments.
**** Support for additional plantuml output formats
(bibtex-find-crossref, bibtex-find-entry): New funs.
(bibtex-find-entry-location): Rename to bibtex-prepare-new-entry, use
bibtex-lessp, Simplify.
- (bibtex-validate): Simplify. Fixe bug of internal variable
+ (bibtex-validate): Simplify. Fix bug of internal variable
questionable-month.
(bibtex-remove-OPT-or-ALT): Use when.
(bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry)
Use shy group.
(outline-level) <var>: Update calling convention.
(outline-level) <fun>: Take advantage of it.
- (outline-demote): Don't assume the match-data is still uptodate.
+ (outline-demote): Don't assume the match-data is still up-to-date.
(outline-up-heading): Simplify and make sure the match data is
properly set at the end.
(org-search-not-self): Rename from `org-search-not-link'.
(org-open-link-marker): New variable.
(org-open-at-point): Set `org-open-link-marker'.
- (org-print-icalendar-entries): Fixe bug with excluding DONE
+ (org-print-icalendar-entries): Fix bug with excluding DONE
entries from the exported list.
(org-edit-formula-lisp-indent): New command.
(orgtbl-to-texinfo, orgtbl-to-html): New functions.
2006-10-11 Ilya Zakharevich <ilyaz@cpan.org>
- * progmodes/cperl-mode.el: Merge from upstream, upto version 5.22.
+ * progmodes/cperl-mode.el: Merge from upstream, up to version 5.22.
After 5.0:
(cperl-add-tags-recurse-noxs-fullpath): New function (for -batch mode).
* files.el (hack-local-variables-confirm): Don't prompt for ! if
enable-local-variables is set to always query, or there is no
- savable variable.
+ saveable variable.
2006-03-10 Bill Wohler <wohler@newt.com>
* international/mule-cmds.el (char-code-property-alist): New variable.
(define-char-code-property): New function.
(get-char-code-property, put-char-code-property): Handle a
- char-table registerd in char-code-property-alist.
+ char-table registered in char-code-property-alist.
(set-language-environment): Check :ascii-compatible-p property of
nonascii charset instead of its dimension.
2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
* ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the
- underlying file is uptodate.
+ underlying file is up-to-date.
2007-07-23 Christopher J. Madsen <cjm@cjmweb.net>
2007-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/autoload.el (autoload-modified-buffers): New var.
- (autoload-find-destination): Keep it uptodate.
+ (autoload-find-destination): Keep it up-to-date.
(autoload-save-buffers): New fun.
(update-file-autoloads): Use it. Re-add the "up to date" message.
* international/quail.el (quail-show-guidance): Don't create
a guidance-frame if current buffer is not a minibuffer, since even if
selected-window is mini-p, the buffer will never be displayed in it, so
- it wil be usable for guidance.
+ it will be usable for guidance.
2008-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
* subr.el (with-selected-frame): Mention that the selected frame
is restored (bug#9980).
- * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
+ * ibuffer.el (ibuffer-mode): List the bindings in the correct map
(bug#9759).
* mail/smtpmail.el (password-cache-add): Remove unused declaration.
1991-07-13 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
* info.el (Info-find-node): Call buffer-flush-undo with one arg,
- instead of none. Change call to get-buffer-c>reate to
- get-buffer-create.
+ instead of none. Fix typo in call to get-buffer-create.
* startup.el (command-line): Remove the arguments from
command-line-args as we process them.
1993-07-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* frame.el (frame-notice-user-settings): Don't reapply a parm
- whose value is ot changed (as far as we know) since frame-initialize.
+ whose value is not changed (as far as we know) since frame-initialize.
* simple.el (kill-ring-save): Delete spurious `message' call.
(set-mark): If POS is nil, call deactivate-mark.
(ada-format-paramlist): Simplified a regexp.
(ada-indent-current): On first line of the buffer, indent to column 0.
Don't reindent if new position is the same as the old one. Thus, a
- correctly indended line is not modified.
+ correctly indented line is not modified.
(ada-get-indent-subprog): Simplified a regexp.
(ada-goto-matching-decl-start): Distinguish between normal type
declaration and protected types, which are more like procedures.
function word-help-find-help-file.
(word-help-guess-all): New subroutine.
(word-help-guess): Use word-help-guess-all.
- May optionally copy only upto the cursor,
+ May optionally copy only up to the cursor,
instead of the entire keyword.
1997-01-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1999-07-21 Gerd Moellmann <gerd@gnu.org>
* scroll-bar.el (scroll-bar-toolkit-scroll): New.
- (global): Use different key bindings if using tookit scroll bars.
+ (global): Use different key bindings if using toolkit scroll bars.
1999-07-21 Gerd Moellmann <gerd@gnu.org>
(ps-mule-font-info-database-ps-bdf): New variable.
(ccl-encode-ethio-unicode): Bug of CCL code fixed.
(ps-mule-generate-font): Give CHARSET arg to FONT-FUNC function
- registerd in FONT-SPEC.
+ registered in FONT-SPEC.
(ps-mule-bitmap-prologue): Fix PostScript code to realize correct
character width of bitmap fonts.
(ps-mule-generate-bitmap-font): Give COLUMNS arg to PostScript
(command-line-1): If inhibit-startup-buffer-menu is set, don't
display the buffer menu. From Simon Josefsson <jas@extundo.com>.
- This allows upto 99999 messages in the summary without screwing up
+ This allows up to 99999 messages in the summary without screwing up
the summary sorting. Previously 9999 was the maximum. Added to NEWS.
* mail/rmailsum.el (rmail-make-summary-line)
`diary-islamic-date', `diary-julian-date', `diary-mayan-date',
`diary-persian-date'
-Theses functions only produce output on certain dates:
+These functions only produce output on certain dates:
`diary-lunar-phases' - phases of moon (on the appropriate days)
`diary-hebrew-omer' - Omer count, within 50 days after Passover
* semantic/scope.el (semantic-analyze-scoped-types-default): If we
cannot find a type in the typecache, also look into the types
we already found. This is necessary since in C++, a 'using
- namespace' can be dependend on a previous one.
+ namespace' can be dependent on a previous one.
(semantic-completable-tags-from-type): When creating the list of
completable types, pull in types which are referenced through
'using' statements, and also preserve their filenames.
(when (slot-exists-p obj 'compiler)
(let ((comp (oref obj compiler)))
(if comp
- ;; Now that we have a pre-set compilers to use, convert tye symbols
+ ;; Now that we have a pre-set compilers to use, convert type symbols
;; into objects for ease of use
(setq comp (if (listp comp)
(mapcar #'symbol-value comp)
Optional TAGCLASS indicates to restrict the return to only
tags of TAGCLASS."
- ;; If there is a srew up and we get just one tag.. massage over it.
+ ;; If there is a screw up and we get just one tag.. massage over it.
(when (semantic-tag-p sequence)
(setq sequence (list sequence)))
ans)
;; Not a real scope. Our scope calculation analyze parts of
;; what it finds, and needs to pass lists through to do it's work.
- ;; Tread that list as a singly entry.
+ ;; Treat that list as a singly entry.
(if class
(semantic-find-tags-by-class class scope)
scope)
(defun semantic-symref-list-on-hit-p ()
"Return the line number if the cursor is on a buffer line with a hit.
-Hits are the line of code from the buffer, not the tag summar or file lines."
+Hits are the line of code from the buffer, not the tag summary or
+file lines."
(save-excursion
(end-of-line)
(let* ((ol (car (overlays-at (1- (point)))))) ;; trust this for now
(when (< alt-col other-col)
(setq other-col alt-col)
(setq other (point)))))
- ;; Keep positions uptodate when we insert stuff.
+ ;; Keep positions up-to-date when we insert stuff.
(if (> other file) (setq other (copy-marker other)))
(setq file (copy-marker file))
;; Main loop.
(defun dnd-begin-text-drag (text &optional frame action allow-same-frame)
"Begin dragging TEXT from FRAME.
-Initate a drag-and-drop operation allowing the user to drag text
+Initiate a drag-and-drop operation allowing the user to drag text
from Emacs to another program (the drop target), then block until
the drop is completed or is canceled.
(defun dnd-begin-file-drag (file &optional frame action allow-same-frame)
"Begin dragging FILE from FRAME.
-Initate a drag-and-drop operation allowing the user to drag a file
+Initiate a drag-and-drop operation allowing the user to drag a file
from Emacs to another program (the drop target), then block until
the drop happens or is canceled.
(first-processed (l)
(if-let ((p (cl-find-if (lambda (p) (comp-block-idom p)) l)))
p
- (signal 'native-ice "cant't find first preprocessed"))))
+ (signal 'native-ice "can't find first preprocessed"))))
(when-let ((blocks (comp-func-blocks comp-func))
(entry (gethash 'entry blocks))
(defun hierarchy-add-list (hierarchy list &optional wrap childrenfn)
"Add to HIERARCHY the sub-lists in LIST.
-If WRAP is non-nil, allow duplicate items in LIST by wraping each
+If WRAP is non-nil, allow duplicate items in LIST by wrapping each
item in a cons (id . item). The root's id is 1.
CHILDRENFN is a function (defaults to `cdr') taking LIST as a
;;;###autoload
(defun read-multiple-choice (prompt choices &optional help-string show-help
long-form)
- "Ask user to select an entry from CHOICES, promting with PROMPT.
+ "Ask user to select an entry from CHOICES, prompting with PROMPT.
This function allows to ask the user a multiple-choice question.
CHOICES should be a list of the form (KEY NAME [DESCRIPTION]).
(signal 'singularity-error nil)) ;Shouldn't get here
(singularity-error (error "No error from %s?" x))
(error nil)))
- ;;Test quit-handling in ses-update-cells. Cant' use `eval' here.
+ ;; Test quit-handling in ses-update-cells. Can't use `eval' here.
(let ((inhibit-quit t))
(setq quit-flag t)
(condition-case nil
(setq i (1+ i))
"[]"))
(t "["))
- (prog1 ; copy everything upto next `]'.
+ (prog1 ; copy everything up to next `]'.
(substring wildcard
i
(setq j (string-search
* gnus-msg.el (gnus-inews-do-gcc):
* message.el (message-send-mail):
* mml.el (mml-generate-mime): Share the value of the buffer-local
- `message-options' variable between a draft buffer and temprary working
+ `message-options' variable between a draft buffer and temporary working
buffers.
2011-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
2010-09-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen)
- spec inser "*" if the group isn't active instead of 0.
+ spec insert "*" if the group isn't active instead of 0.
* nnimap.el (nnimap-request-group): Don't select the imap buffer before
opening the server.
Groups with levels less than `gnus-level-subscribed', which
should be less than this variable, are subscribed. Groups with
-levels from `gnus-level-subscribed' (exclusive) upto this
+levels from `gnus-level-subscribed' (exclusive) up to this
variable (inclusive) are unsubscribed. See also
`gnus-level-zombie', `gnus-level-killed' and the Info node `(gnus)Group
Levels' for details.")
We are not yet concerned with the file extensions/tag line number and so on at
this point.
-If `hfy-split-index' is set, and the href wil be to an index file rather than
+If `hfy-split-index' is set, and the href will be to an index file rather than
a source file, append a .X to `hfy-index-file', where X is the uppercased
first character of TAG.
(defconst Info-menu-entry-name-re "\\(?:[^:]\\|:[^:,.;() \t\n]\\)*"
;; We allow newline because this is also used in Info-follow-reference,
;; where the xref name might be wrapped over two lines.
- "Regexp that matches a menu entry name upto but not including the colon.
+ "Regexp that matches a menu entry name up to but not including the colon.
Because of ambiguities, this should be concatenated with something like
`:' and `Info-following-node-name-re'.")
;; unless COLUMNS or MANWIDTH is set. This isn't a problem on
;; a tty. man(1) says:
;; MANWIDTH
- ;; If $MANWIDTH is set, its value is used as the line
- ;; length for which manual pages should be formatted.
- ;; If it is not set, manual pages will be formatted
- ;; with a line length appropriate to the current ter-
- ;; minal (using an ioctl(2) if available, the value of
- ;; $COLUMNS, or falling back to 80 characters if nei-
- ;; ther is available).
+ ;; If $MANWIDTH is set, its value is used as the line
+ ;; length for which manual pages should be formatted.
+ ;; If it is not set, manual pages will be formatted
+ ;; with a line length appropriate to the current
+ ;; terminal (using an ioctl(2) if available, the value
+ ;; of $COLUMNS, or falling back to 80 characters if
+ ;; neither is available).
(when (or window-system
(not (or (getenv "MANWIDTH") (getenv "COLUMNS"))))
;; Since the page buffer is displayed beforehand,
change fixes that.
* mh-utils.el (mh-show-mode): Setup mh-show-mode to display
- elipsis for truncated header fields and to skip over them quickly.
+ ellipsis for truncated header fields and to skip over them quickly.
(mh-clean-msg-header): Make another pass over the message header
fields truncating long headers.
;;; Support for regularly updated current status information ;;;;;;;;;;;;;;;
;; Exported elements:
-;; `mpc-status' holds the uptodate data.
+;; `mpc-status' holds the up-to-date data.
;; `mpc-status-callbacks' holds the registered callback functions.
;; `mpc-status-refresh' forces a refresh of the data.
;; `mpc-status-stop' stops the automatic updating.
(defun tramp-crypt-do-encrypt-or-decrypt-file (op root infile outfile)
"Encrypt / decrypt file INFILE to OUTFILE according to encrypted directory ROOT.
Both files must be local files. OP must be `encrypt' or `decrypt'.
-If OP ist `decrypt', the basename of INFILE must be an encrypted file name.
+If OP is `decrypt', the basename of INFILE must be an encrypted file name.
Raise an error if this fails."
(when-let ((tramp-crypt-enabled t)
(dir (tramp-crypt-file-name-p root))
(defface nxml-char-ref-number
'((t (:inherit nxml-ref)))
"Face used for the number in character references.
-This includes ths `x' in hex references."
+This includes the `x' in hex references."
:group 'nxml-faces)
(defface nxml-char-ref-delimiter
(vi-repeat-last-find-char count))
(defun vi-backward-upto-char (count char)
- "Find upto the COUNT'th CHAR backward on current line."
+ "Find up to the COUNT'th CHAR backward on current line."
(interactive "p\nc")
(setq vi-last-find-char (cons -1 (cons char t)))
(vi-repeat-last-find-char count))
(defun vi-forward-upto-char (count char)
- "Find upto the COUNT'th CHAR forward on current line."
+ "Find up to the COUNT'th CHAR forward on current line."
(interactive "p\nc")
(setq vi-last-find-char (cons 1 (cons char t)))
(vi-repeat-last-find-char count))
2012-01-03 Dave Abrahams <dave@boostpro.com>
* org-agenda.el (org-agenda-follow-indirect): New option.
- (org-agenda-follow-mode): Call `org-agenda-do-context-action' fro
+ (org-agenda-follow-mode): Call `org-agenda-do-context-action' from
follow mode.
(org-agenda-do-context-action): Also do indirect follow mode
action.
* org.el (org-narrow-to-subtree): Ensure `org-back-to-heading'
will move point to a real heading and not an inline task by
- wraping function into a `org-with-limited-levels' macro.
+ wrapping function into a `org-with-limited-levels' macro.
2011-07-28 Bastien Guerry <bzg@gnu.org>
(outline-end-of-subtree): Make `outline-end-of-subtree' use the
org-version of this function in Org-mode. We use advice to
implement this change, so that future changes to this function in
- outline.el wil be handled properly.
+ outline.el will be handled properly.
(org-forward-same-level, org-backward-same-level): New commands.
2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
attachments.
* org-latex.el (org-export-latex-quotation-marks): Fix export of
- quotation makrs in parenthesis.
+ quotation marks in parenthesis.
(org-remove-initial-hash): New function.
(org-export-latex-preprocess): Fix bug with infinite loop if
environment is not properly closed.
2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
* org-archive.el (org-extract-archive-heading): Allow %s for file
- name also in achive location heading.
+ name also in archive location heading.
2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
;; The created link is transient. Using ID is
;; not necessary, but could have side-effects if
;; used. An ID property may be added to
- ;; existing entries thus creatin unexpected file
+ ;; existing entries thus creating unexpected file
;; modifications.
(org-id-link-to-org-use-id nil)
(l (org-no-properties (org-store-link nil))))
("link" . ,(let (;; The created link is transient. Using ID is
;; not necessary, but could have side-effects if
;; used. An ID property may be added to
- ;; existing entries thus creatin unexpected file
+ ;; existing entries thus creating unexpected file
;; modifications.
(org-id-link-to-org-use-id nil))
(org-no-properties (org-store-link nil))))
(defcustom outline-minor-mode-highlight nil
"Whether to highlight headings in `outline-minor-mode' using font-lock keywords.
-This option controles whether `outline-minor-mode' will use its font-lock
+This option controls whether `outline-minor-mode' will use its font-lock
keywords to highlight headings, which could potentially conflict with
font-lock faces defined by the major mode. Thus, a non-nil value will
work well only when there's no such conflict.
(defun c-align-cpp-indent-to-body ()
"Align a \"#pragma\" line under the previous line.
-This function is intented for use as a member of `c-special-indent-hook'."
+This function is intended for use as a member of `c-special-indent-hook'."
(when (assq 'cpp-macro c-syntactic-context)
(when
(save-excursion
Mentioning them here is necessary only if they can occur in other
places, or if they are followed by a construct that must be skipped
over (like the parens in the \"__attribute__\" and \"__declspec\"
-examples above). In the last case, they alse need to be present on
+examples above). In the last case, they also need to be present on
one of `c-type-list-kwds', `c-ref-list-kwds',
`c-colon-type-list-kwds', `c-paren-nontype-kwds', `c-paren-type-kwds',
`c-<>-type-kwds', or `c-<>-arglist-kwds'."
(defun c-multiline-string-check-final-quote ()
;; Check that the final quote in the buffer is correctly marked or not with
- ;; a string-fence syntax-table text propery. The return value has no
+ ;; a string-fence syntax-table text property. The return value has no
;; significance.
(let (pos-ll pos-lt)
(save-excursion
(ebnf-eps-header-footer ebnf-eps-footer))
-;; hacked fom `ps-output-string-prim' (ps-print.el)
+;; hacked from `ps-output-string-prim' (ps-print.el)
(defun ebnf-eps-string (string)
(let* ((str string)
(len (length str))
(defvar ebnf-nprod 0)
-(defsubst ebnf-message-info (messag)
+(defsubst ebnf-message-info (msg)
(message "%s...%3d%%"
- messag
+ msg
(round (/ (* (setq ebnf-nprod (1+ ebnf-nprod)) 100.0) ebnf-total))))
\f
If point isn't in a top-level form, evaluate the first top-level
form after point. If there is no top-level form after point,
-evaluate the first preceeding top-level form.
+evaluate the first preceding top-level form.
If the current defun is actually a call to `defvar' or `defcustom',
evaluating it this way resets the variable using its initial value
(rc . "\\<\\([[:alnum:]_*]+\\)[ \t]*=")
(sh . "\\<\\([[:alnum:]_]+\\)="))
"Regexp for the variable name and what may follow in an assignment.
-First grouping matches the variable name. This is upto and including the `='
+First grouping matches the variable name. This is up to and including the `='
sign. See `sh-feature'."
:type '(repeat (cons (symbol :tag "Shell")
(choice regexp
;; Perform search
(dolist (s (auth-source-search :max 1000))
(when (and
- ;; Is PRODUCT specified, in the enty, and they are equal
+ ;; Is PRODUCT specified, in the entry, and they are equal
(if product
(if (plist-member s :product)
(equal (plist-get s :product) product)
(setq point-before-scroll before-scroll)))))
\f
-;;; Tookit scroll bars.
+;;; Toolkit scroll bars.
(defun scroll-bar-toolkit-scroll (event)
"Handle event EVENT on vertical scroll bar."
"Return list of bibfiles for current document.
When using the chapterbib or bibunits package you should either
use the same database files everywhere, or separate parts using
-different databases into different files (included into the mater file).
+different databases into different files (included into the master file).
Then this function will return the applicable database files."
;; Ensure access to scanning info
(defun reftex-index-phrases-find-dup-re (phrase &optional sub)
"Return a regexp which matches variations of PHRASE (with additional space).
When SUB ins non-nil, the regexp will also match when PHRASE is a subphrase
-of another phrase. The regexp works lonly in the phrase buffer."
+of another phrase. The regexp works only in the phrase buffer."
(concat (if sub "^\\S-?\t\\([^\t\n]*" "^\\S-?\t")
(mapconcat #'regexp-quote (split-string phrase) " +")
(if sub "[^\t\n]*\\)\\([\t\n]\\|$\\)" " *\\([\t\n]\\|$\\)")))
"&")))
(defun tex-uptodate-p (file)
- "Return non-nil if FILE is not uptodate w.r.t the document source files.
+ "Return non-nil if FILE is not up-to-date w.r.t the document source files.
FILE is typically the output DVI or PDF file."
;; We should check all the files included !!!
(and
(push cmd tmp)))
;; Only remove if there's something left.
(if tmp (setq cmds (nreverse tmp))))
- ;; Remove commands whose input is not uptodate either.
+ ;; Remove commands whose input is not up-to-date either.
(let ((outs (delq nil (mapcar (lambda (x) (nth 2 x)) cmds)))
(tmp nil))
(dolist (cmd cmds)
((and wrap (null file))
(current-buffer))
;; When there is no next file, file-exists-p raises the error to be
- ;; catched by the search function that displays the error message.
+ ;; caught by the search function that displays the error message.
((file-exists-p file)
(find-file-noselect file))
(t
regexp-skip
;; skip clashes, if necessary
non-clash-skip
- ;; skipp changed regions
+ ;; skip changed regions
skip-changed
;; skip difference regions that differ in white space
(and ediff-ignore-similar-regions
locking is used for URL, a lock should also be set.
If REV is non-nil, that is the revision to check out. If REV is the
-empty string, that means to check ou tht ehead of the trunk.
+empty string, that means to check out the head of the trunk.
If optional arg DESTFILE is given, it is an alternate filename to
write the contents to."
This list specifies the total maximum and minimum numbers of
lines and the maximum and minimum numbers of columns of the body
of the root window of any frame that shall be fit to its buffer.
-Any value specified by ths variable will be overridden by the
+Any value specified by this variable will be overridden by the
corresponding argument of `fit-frame-to-buffer', if non-nil.
On window systems where the menubar can wrap, fitting a frame to
whether the gnulib module scanf shall be considered present. */
#undef GNULIB_SCANF
-/* Define if ths system is compatible with GNU/Linux. */
+/* Define if this system is compatible with GNU/Linux. */
#undef GNU_LINUX
/* Define to 1 if you want to use the GNU memory allocator. */
2010-05-28 Kenichi Handa <handa@m17n.org>
* font.c (font_delete_unmatched): Check Vface_ignored_fonts.
- Don't sheck SPEC if it is nil.
+ Don't check SPEC if it is nil.
(font_list_entities): Call font_delete_unmatched if
Vface_ignored_fonts is non-nil. (Bug#6287)
* keyboard.c: QClabel is new.
(parse_tool_bar_item): Take out QClabel from tool bar items.
- Try to construct a label if ther is no QClabel.
+ Try to construct a label if there is no QClabel.
(syms_of_keyboard): Intern :label as QClabel.
* dispextern.h (tool_bar_item_idx): TOOL_BAR_ITEM_LABEL is new.
* lisp.h (adjust_after_replace): Extern it.
- * coding.c (detect_coding): Cound the heading ASCII bytes in the
+ * coding.c (detect_coding): Count the heading ASCII bytes in the
case of detection for coding_category_utf_8_auto.
(decode_coding_gap) [not CODING_DISABLE_ASCII_OPTIMIZATION]:
Skip decoding if all bytes are ASCII.
* nsfns.m (Fns_do_applescript): Run event loop until script has
been executed (Bug#12969).
- (ns_run_ascript): Chech as_script for nil, set to nil after
+ (ns_run_ascript): Check as_script for nil, set to nil after
executing script.
2012-12-22 Martin Rudalics <rudalics@gmx.at>
2011-05-05 Eli Zaretskii <eliz@gnu.org>
* w32heap.c (allocate_heap) [USE_LISP_UNION_TYPE || USE_LSB_TAG]:
- New version that can reserve upto 2GB of heap space.
+ New version that can reserve up to 2GB of heap space.
2011-05-05 Chong Yidong <cyd@stupidchicken.com>
2014-04-16 Eli Zaretskii <eliz@gnu.org>
* insdel.c (invalidate_buffer_caches): When deleting or replacing
- text, invalidate the bidi_paragraph_cache upto and including the
+ text, invalidate the bidi_paragraph_cache up to and including the
preceding newline.
2014-04-16 Paul Eggert <eggert@cs.ucla.edu>
* xdisp.c (syms_of_xdisp): New vars redisplay--all-windows-cause and
redisplay--mode-lines-cause.
- (redisplay_internal): Keep them uptodate. Remove redundant check of
+ (redisplay_internal): Keep them up-to-date. Remove redundant check of
buffer_shared_and_changed.
* *.[chm]: Number every assignment to update_mode_lines so we
can track why it is set.
2013-09-16 Dmitry Antipov <dmantipov@yandex.ru>
Do not copy X event in handle_one_xevent except KeyPress case.
- Wnen XEvent is processed, it is unlikely to be changed except
+ When XEvent is processed, it is unlikely to be changed except
KeyPress case, so we can avoid copying and use const pointer to
const data to make sure that an event is not changed elsewhere.
* xterm.c (handle_one_xevent): Change 2nd arg to 'const XEvent *
1996-02-08 Eli Zaretskii <eliz@is.elta.co.il>
- * fileio.c (Fmake_temp_name) [MS-DOS]: Allow upto 8 characters in
+ * fileio.c (Fmake_temp_name) [MS-DOS]: Allow up to 8 characters in
the prefix of the temporary file name.
1996-02-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
(x_scroll_bar_expose): Make no-op for toolkit scroll bars.
(x_scroll_bar_create): Create and show a scroll bar widget
if using toolkit scroll bars.
- (x_scroll_bar_move): Handle tookit scroll bars.
+ (x_scroll_bar_move): Handle toolkit scroll bars.
* Makefile.in (LIBW): Use Xaw3d if present.
}
xsignal1 (Qnative_ice,
- build_string ("cant't find data in relocation containers"));
+ build_string ("can't find data in relocation containers"));
assume (false);
found:
/* The number of characters in `wanted_chars'. */
int want_chars_len;
- /* List of characters. The font must fullfill at least one of
+ /* List of characters. The font must fulfill at least one of
them for the match to succeed. */
int *need_one_of;
ns = NULL;
/* Find out if there is a record available in the linked list of
- notifications sets. If so, unlink te set from the linked list.
+ notifications sets. If so, unlink the set from the linked list.
Use the critical section. */
enter_crit ();
if (notifications_set_head->next != notifications_set_head)
break;
}
#ifdef USE_GTK
- /* We don't wan't to know the innermost window. We
+ /* We don't want to know the innermost window. We
want the edit window. For non-Gtk+ the innermost
window is the edit window. For Gtk+ it might not
be. It might be the tool bar for example. */
never use them in that case.) */
#ifdef USE_GTK
- /* We don't wan't to know the innermost window. We
+ /* We don't want to know the innermost window. We
want the edit window. */
f1 = x_window_to_frame (dpyinfo, win);
#else
:nick "nick"
:password nil))))
- (ert-info ("Addresss includes nick and password")
+ (ert-info ("Address includes nick and password")
(should (equal (ert-simulate-keys "nick:sesame@localhost:6667\r"
(erc-select-read-args))
(list :server "localhost"
X-MICROSOFT-CDO-OWNERAPPTID:-362490173
RECURRENCE-ID;TZID=America/New_York:20201208T091500
CREATED:20200309T134939Z
-DESCRIPTION:In this meeting\\, we will cover topics from product and enginee
+DESCRIPTION:In this meeting\\, we will cover topics from product and engine
ring presentations and demos to new hire announcements to watching the late
LAST-MODIFIED:20200728T182852Z
LOCATION:New York-22-Town Hall Space (250) [Chrome Box]
(ert-deftest mailcap-view-file ()
(with-pristine-mailcap
- ;; Try using a lambda as viewer and check wether
+ ;; Try using a lambda as viewer and check whether
;; `mailcap-view-file' works correctly.
(let* ((mailcap-mime-extensions '((".test" . "test/test"))))
(mailcap-add "test/test" 'mailcap--test-viewer)
(cond ((string-match-p "\\`-[cn]\\'" (car args))
(unless (and (cdr args)
(string-match-p "\\`[0-9]+\\'" (cadr args)))
- (error "%s expectes a natnum argument" (car args)))
+ (error "%s expects a natnum argument" (car args)))
(if (equal (car args) "-c")
(setq k (string-to-number (cadr args)))
(setq n (string-to-number (cadr args))))
(defun test-font-parse ()
"Test font name parsing."
(interactive)
- (switch-to-buffer (generate-new-buffer "*Font Pase Test*"))
+ (switch-to-buffer (generate-new-buffer "*Font Parse Test*"))
(setq show-trailing-whitespace nil)
(let ((pass-face '((t :foreground "green")))
(fail-face '((t :foreground "red"))))
(while (not threads-mutex-key)
(thread-yield))
(thread-signal thr 'quit nil)
- ;; `quit' is not catched by `should-error'. We must indicate it.
+ ;; `quit' is not caught by `should-error'. We must indicate it.
(condition-case nil
(thread-join thr)
(quit (signal 'error nil)))))))