summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml2
-rw-r--r--lisp/pdf-dev.el2
-rw-r--r--lisp/pdf-info.el2
-rw-r--r--lisp/pdf-tools.el2
-rw-r--r--lisp/pdf-util.el16
-rw-r--r--lisp/pdf-view.el10
-rwxr-xr-xserver/autobuild2
-rw-r--r--server/configure.ac2
-rw-r--r--server/epdfinfo.c4
-rw-r--r--server/synctex_parser.h2
-rw-r--r--server/synctex_parser_readme.txt4
-rw-r--r--server/synctex_parser_utils.c2
12 files changed, 25 insertions, 25 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 3736fba..69f59d9 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -12,7 +12,7 @@ environment:
install:
# running under CI
- '%APPVEYOR_BUILD_FOLDER%\ci\appveyor\install.bat'
- - 'echo End intall at: & time /t'
+ - 'echo End install at: & time /t'
build_script:
- 'pushd %APPVEYOR_BUILD_FOLDER%'
diff --git a/lisp/pdf-dev.el b/lisp/pdf-dev.el
index 6273b3e..7889c14 100644
--- a/lisp/pdf-dev.el
+++ b/lisp/pdf-dev.el
@@ -20,7 +20,7 @@
;;; Commentary:
;;
-;; This file is only ment for developers. The entry point is
+;; This file is only meant for developers. The entry point is
;; pdf-dev-minor-mode, which see.
;;; Code:
diff --git a/lisp/pdf-info.el b/lisp/pdf-info.el
index 6dd7ff6..0c345a2 100644
--- a/lisp/pdf-info.el
+++ b/lisp/pdf-info.el
@@ -75,7 +75,7 @@
(or (executable-find executable)
;; This works if epdfinfo is in the same place as emacs and
;; the editor was started with an absolute path, i.e. it is
- ;; ment for Windows/Msys2.
+ ;; meant for Windows/Msys2.
(and (stringp (car-safe command-line-args))
(file-name-directory (car command-line-args))
(try-directory
diff --git a/lisp/pdf-tools.el b/lisp/pdf-tools.el
index e512fd1..7c9144c 100644
--- a/lisp/pdf-tools.el
+++ b/lisp/pdf-tools.el
@@ -290,7 +290,7 @@ Install into TARGET-DIRECTORY, which should be a directory.
If CALLBACK is non-nil, it should be a function. It is called
with the compiled executable as the single argument or nil, if
-the build falied.
+the build failed.
Expect sources to be in BUILD-DIRECTORY. If nil, search for it
using `pdf-tools-locate-build-directory'.
diff --git a/lisp/pdf-util.el b/lisp/pdf-util.el
index b5f3f55..3358d58 100644
--- a/lisp/pdf-util.el
+++ b/lisp/pdf-util.el
@@ -180,7 +180,7 @@ else return the scaled singleton."
(defun pdf-util-scale-to (list-of-edges from to &optional rounding-fn)
"Scale LIST-OF-EDGES in FROM basis to TO.
-FROM and TO should both be a cons \(WIDTH . HEIGTH\). See also
+FROM and TO should both be a cons \(WIDTH . HEIGHT\). See also
`pdf-util-scale'."
(pdf-util-scale list-of-edges
@@ -419,7 +419,7 @@ Returns a list of pixel edges."
(mapcar 'round (list x0 y0 x1 y1))))
(defun pdf-util-required-hscroll (edges &optional eager-p context-pixel)
- "Return the amount of scrolling nescessary, to make image EDGES visible.
+ "Return the amount of scrolling necessary, to make image EDGES visible.
Scroll as little as necessary. Unless EAGER-P is non-nil, in
which case scroll as much as possible.
@@ -458,7 +458,7 @@ needed."
(frame-char-width)))))))))
(defun pdf-util-required-vscroll (edges &optional eager-p context-pixel)
- "Return the amount of scrolling nescessary, to make image EDGES visible.
+ "Return the amount of scrolling necessary, to make image EDGES visible.
Scroll as little as necessary. Unless EAGER-P is non-nil, in
which case scroll as much as possible.
@@ -837,8 +837,8 @@ trailing 2 is ignored. The other possible values have similar
effects. The default is nil, which means to match the whole
sequences.
-Return a cons \(VALUE . ALINGMENT\), where VALUE says how similar
-the sequences are and ALINGMENT is a list of \(E1 . E2\), where
+Return a cons \(VALUE . ALIGNMENT\), where VALUE says how similar
+the sequences are and ALIGNMENT is a list of \(E1 . E2\), where
E1 is an element from SEQ1 or nil, likewise for E2. If one of
them is nil, it means there is gap at this position in the
respective sequence."
@@ -1000,10 +1000,10 @@ Returns a cons \(WIDTH . HEIGHT\)."
"Convert image IN-FILE to OUT-FILE according to SPEC.
IN-FILE should be the name of a file containing an image. Write
-the result to OUT-FILE. The extension of this filename ususally
+the result to OUT-FILE. The extension of this filename usually
determines the resulting image-type.
-SPEC is a property list, specifying what the convert programm
+SPEC is a property list, specifying what the convert program
should do with the image. All manipulations operate on a
rectangle, see below.
@@ -1032,7 +1032,7 @@ as a single argument.
`:formats' An alist of additional %-escapes. Every element
should be a cons \(CHAR . STRING\) or \(CHAR . FUNCTION\). In
-the first case, all occurences of %-CHAR in the above commands
+the first case, all occurrences of %-CHAR in the above commands
will be replaced by STRING. In the second case FUNCTION is
called with the current rectangle and it should return the
replacement string.
diff --git a/lisp/pdf-view.el b/lisp/pdf-view.el
index 7de1888..51f5fe0 100644
--- a/lisp/pdf-view.el
+++ b/lisp/pdf-view.el
@@ -507,7 +507,7 @@ operating on a local copy of a remote file."
(delete-file tempfile))))))
(defun pdf-view-revert-buffer (&optional ignore-auto noconfirm)
- "Revert buffer while preseving current modes.
+ "Revert buffer while preserving current modes.
Optional parameters IGNORE-AUTO and NOCONFIRM are defined as in
`revert-buffer'."
@@ -528,7 +528,7 @@ Optional parameters IGNORE-AUTO and NOCONFIRM are defined as in
(defun pdf-view-close-document ()
"Return immediately after closing document.
-This function always suceeds. See also `pdf-info-close', which
+This function always succeeds. See also `pdf-info-close', which
does not return immediately."
(when (pdf-info-running-p)
(let ((pdf-info-asynchronous 'ignore))
@@ -1242,7 +1242,7 @@ image size \(WIDTH . HEIGHT\) as arguments. It should return a
list of hotspots applicable to the the :map image-property.
LAYER determines the order: Functions in a higher LAYER will
-supercede hotspots in lower ones."
+supersede hotspots in lower ones."
(push (cons (or layer 0) fn)
pdf-view--hotspot-functions))
@@ -1338,7 +1338,7 @@ Stores the region in `pdf-view-active-region'."
(cond
((and end-inside-image-p
(not begin-inside-image-p))
- ;; Started selection ouside the image, setup begin.
+ ;; Started selection outside the image, setup begin.
(let* ((xy (posn-x-y pos))
(dxy (cons (- (car xy) (car begin))
(- (cdr xy) (cdr begin))))
@@ -1459,7 +1459,7 @@ image*\" and display it, unless NO-DISPLAY-P is non-nil.
In case of multiple regions, the resulting image is constructed
by joining them horizontally. For this operation (and this only)
-the `convert' programm is used."
+the `convert' program is used."
(interactive
(list (if (pdf-view-active-region-p)
diff --git a/server/autobuild b/server/autobuild
index aa6b54c..5e8db76 100755
--- a/server/autobuild
+++ b/server/autobuild
@@ -6,7 +6,7 @@
# Don't exit if some command fails.
set +e
-# Disalbe file globbing.
+# Disable file globbing.
set -f
# Boolean variables are true if non-empty and false otherwise.
diff --git a/server/configure.ac b/server/configure.ac
index ae1255f..c2866b0 100644
--- a/server/configure.ac
+++ b/server/configure.ac
@@ -86,7 +86,7 @@ AC_LANG_PUSH([C])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <error.h>
],[error (0, 0, "");])],
- [AC_DEFINE([HAVE_ERROR_H],1, [Define to 1 if error.h is useable.])
+ [AC_DEFINE([HAVE_ERROR_H],1, [Define to 1 if error.h is usable.])
AC_MSG_RESULT([yes])],
AC_MSG_RESULT([no]))
AC_LANG_POP([C])
diff --git a/server/epdfinfo.c b/server/epdfinfo.c
index 86d9200..93283ea 100644
--- a/server/epdfinfo.c
+++ b/server/epdfinfo.c
@@ -3581,7 +3581,7 @@ static const command_t commands [] =
DEC_CMD2 (search_regexp, "search-regexp"),
DEC_CMD2 (regexp_flags, "regexp-flags"),
- /* General Informations */
+ /* General Information */
DEC_CMD (metadata),
DEC_CMD (outline),
DEC_CMD2 (number_of_pages, "number-of-pages"),
@@ -3592,7 +3592,7 @@ static const command_t commands [] =
DEC_CMD (boundingbox),
DEC_CMD (charlayout),
- /* General Informations */
+ /* General Information */
DEC_CMD (metadata),
DEC_CMD (outline),
DEC_CMD2 (number_of_pages, "number-of-pages"),
diff --git a/server/synctex_parser.h b/server/synctex_parser.h
index 2c1911e..24b5e2c 100644
--- a/server/synctex_parser.h
+++ b/server/synctex_parser.h
@@ -189,7 +189,7 @@ float synctex_scanner_magnification(synctex_scanner_t scanner);
/* Managing the input file names.
* Given a tag, synctex_scanner_get_name will return the corresponding file name.
- * Conversely, given a file name, synctex_scanner_get_tag will retur, the corresponding tag.
+ * Conversely, given a file name, synctex_scanner_get_tag will return, the corresponding tag.
* The file name must be the very same as understood by TeX.
* For example, if you \input myDir/foo.tex, the file name is myDir/foo.tex.
* No automatic path expansion is performed.
diff --git a/server/synctex_parser_readme.txt b/server/synctex_parser_readme.txt
index 0243f53..2064113 100644
--- a/server/synctex_parser_readme.txt
+++ b/server/synctex_parser_readme.txt
@@ -4,7 +4,7 @@ The Synchronization TeXnology named SyncTeX is a new feature
of recent TeX engines designed by Jerome Laurens.
It allows to synchronize between input and output, which means to
navigate from the source document to the typeset material and vice versa.
-More informations on http://itexmac2.sourceforge.net/SyncTeX.html
+More information on http://itexmac2.sourceforge.net/SyncTeX.html
This package is mainly for developers, it mainly contains the following files:
@@ -16,7 +16,7 @@ synctex_parser_local.h
synctex_parser.h
synctex_parser.c
-The file you are reading contains more informations about the SyncTeX parser history.
+The file you are reading contains more information about the SyncTeX parser history.
In order to support SyncTeX in a viewer, it is sufficient to include
in the source the files synctex_parser.h and synctex_parser.c.
diff --git a/server/synctex_parser_utils.c b/server/synctex_parser_utils.c
index 0e9fd0e..f238550 100644
--- a/server/synctex_parser_utils.c
+++ b/server/synctex_parser_utils.c
@@ -253,7 +253,7 @@ int _synctex_copy_with_quoting_last_path_component(const char * src, char ** des
const char * lpc;
if(src && dest_ref) {
# define dest (*dest_ref)
- dest = NULL; /* Default behavior: no change and sucess. */
+ dest = NULL; /* Default behavior: no change and success. */
lpc = _synctex_last_path_component(src);
if(strlen(lpc)) {
if(strchr(lpc,' ') && lpc[0]!='"' && lpc[strlen(lpc)-1]!='"') {