aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2015-04-05 23:40:54 -0700
committerPaul Eggert2015-04-05 23:43:22 -0700
commitb884ff380dc341ca8dc8fcfe4357110e191216ce (patch)
tree5575008cd120d1ec213fbc0d4255d7d6c642fd83
parent93ce8b33090d122c0548c386314b7ee804602fd3 (diff)
downloademacs-b884ff380dc341ca8dc8fcfe4357110e191216ce.tar.gz
emacs-b884ff380dc341ca8dc8fcfe4357110e191216ce.zip
Spelling fix for 'hfy-optimizations'
* htmlfontify.el (hfy-optimizations): Rename from hfy-optimisations, with an obsolete alias. All uses changed.
-rw-r--r--doc/misc/htmlfontify.texi10
-rw-r--r--etc/NEWS6
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/ChangeLog.162
-rw-r--r--lisp/gnus/ChangeLog2
-rw-r--r--lisp/htmlfontify.el11
-rw-r--r--lisp/org/ox-odt.el7
7 files changed, 29 insertions, 15 deletions
diff --git a/doc/misc/htmlfontify.texi b/doc/misc/htmlfontify.texi
index 6579cd6c7d1..8140b43e783 100644
--- a/doc/misc/htmlfontify.texi
+++ b/doc/misc/htmlfontify.texi
@@ -840,7 +840,7 @@ See @ref{hfy-display-class} for details of valid values for @var{class}.
840@end lisp 840@end lisp
841 841
842Find face in effect at point P@. If overlays are to be considered 842Find face in effect at point P@. If overlays are to be considered
843(see @ref{hfy-optimisations}) then this may return a @code{defface} style 843(see @ref{hfy-optimizations}) then this may return a @code{defface} style
844list of face properties instead of a face symbol. 844list of face properties instead of a face symbol.
845 845
846@item hfy-bgcol 846@item hfy-bgcol
@@ -950,7 +950,7 @@ Is @var{srcdir}/@var{file} text? Uses @ref{hfy-istext-command} to determine thi
950(hfy-opt @var{symbol}) 950(hfy-opt @var{symbol})
951@end lisp 951@end lisp
952 952
953Is @ref{hfy-optimisations} member @var{symbol} set or not? 953Is @ref{hfy-optimizations} member @var{symbol} set or not?
954 954
955@item hfy-dirname 955@item hfy-dirname
956@findex hfy-dirname 956@findex hfy-dirname
@@ -1395,9 +1395,9 @@ for the more complex shell interactions needed by Htmlfontify.
1395Currently this is only required/used when using GNU etags, see 1395Currently this is only required/used when using GNU etags, see
1396@ref{hfy-etags-cmd-alist} for details. 1396@ref{hfy-etags-cmd-alist} for details.
1397 1397
1398@item hfy-optimisations 1398@item hfy-optimizations
1399@vindex hfy-optimisations 1399@vindex hfy-optimizations
1400@anchor{hfy-optimisations} 1400@anchor{hfy-optimizations}
1401 1401
1402Optimizations to turn on. So far, the following have been implemented: 1402Optimizations to turn on. So far, the following have been implemented:
1403 1403
diff --git a/etc/NEWS b/etc/NEWS
index 6de8f030d94..cc3c6d1c235 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -756,6 +756,12 @@ integers.
756** New function `set-binary-mode' allows to switch a standard stream 756** New function `set-binary-mode' allows to switch a standard stream
757of the Emacs process to binary I/O mode. 757of the Emacs process to binary I/O mode.
758 758
759** Miscellaneous name change
760
761For consistency with the usual Emacs spelling, the Lisp variable
762`hfy-optimisations' has been renamed to `hfy-optimizations'.
763The old name should still work, as an obsolescent alias.
764
759 765
760* Changes in Frames and Windows Code in Emacs 25.1 766* Changes in Frames and Windows Code in Emacs 25.1
761 767
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c7d4dd5bac0..94b4be74584 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12015-04-06 Paul Eggert <eggert@cs.ucla.edu>
2
3 Spelling fix for 'hfy-optimizations'
4 * htmlfontify.el (hfy-optimizations): Rename from hfy-optimisations,
5 with an obsolete alias. All uses changed.
6
12015-04-06 Fabián Ezequiel Gallina <fgallina@gnu.org> 72015-04-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
2 8
3 python.el: Enhance docstring detection following PEP-257. 9 python.el: Enhance docstring detection following PEP-257.
diff --git a/lisp/ChangeLog.16 b/lisp/ChangeLog.16
index bf8a97352c6..457c1511af8 100644
--- a/lisp/ChangeLog.16
+++ b/lisp/ChangeLog.16
@@ -15547,7 +15547,7 @@
15547 c-set-fl-decl-start. 15547 c-set-fl-decl-start.
15548 15548
15549 * progmodes/cc-mode.el (c-common-init, c-after-change): 15549 * progmodes/cc-mode.el (c-common-init, c-after-change):
15550 Changes due to pluralisation of c-before-font-lock-functions. 15550 Changes due to pluralization of c-before-font-lock-functions.
15551 (c-set-fl-decl-start): New function, extracted from 15551 (c-set-fl-decl-start): New function, extracted from
15552 c-font-lock-enclosing-decls and enhanced. 15552 c-font-lock-enclosing-decls and enhanced.
15553 15553
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 591c6446ec0..442326cc7f0 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1692,7 +1692,7 @@
16922013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org> 16922013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1693 1693
1694 * shr.el (shr-tag-table): Insert the images after the table, so that 1694 * shr.el (shr-tag-table): Insert the images after the table, so that
1695 they're not covered by the table colourisation, which often looked 1695 they're not covered by the table colorization, which often looked
1696 awkward. 1696 awkward.
1697 (shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt> and 1697 (shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt> and
1698 <dd>. 1698 <dd>.
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el
index 719cb82b989..97e7d0f4446 100644
--- a/lisp/htmlfontify.el
+++ b/lisp/htmlfontify.el
@@ -440,7 +440,7 @@ and so on."
440 (background (choice (const :tag "Dark" dark ) 440 (background (choice (const :tag "Dark" dark )
441 (const :tag "Bright" light ))) )) 441 (const :tag "Bright" light ))) ))
442 442
443(defcustom hfy-optimisations (list 'keep-overlays) 443(defcustom hfy-optimizations (list 'keep-overlays)
444 "Optimizations to turn on: So far, the following have been implemented:\n 444 "Optimizations to turn on: So far, the following have been implemented:\n
445 merge-adjacent-tags: If two (or more) span tags are adjacent, identical and 445 merge-adjacent-tags: If two (or more) span tags are adjacent, identical and
446 separated by nothing more than whitespace, they will 446 separated by nothing more than whitespace, they will
@@ -475,6 +475,7 @@ which can never slow you down, but may result in incomplete fontification."
475 (const :tag "body-text-only" body-text-only )) 475 (const :tag "body-text-only" body-text-only ))
476 :group 'htmlfontify 476 :group 'htmlfontify
477 :tag "optimizations") 477 :tag "optimizations")
478(define-obsolete-variable-alias 'hfy-optimisations 'hfy-optimizations "25.1")
478 479
479(defvar hfy-tags-cache nil 480(defvar hfy-tags-cache nil
480 "Alist of the form:\n 481 "Alist of the form:\n
@@ -606,7 +607,7 @@ in a windowing system - try to trick it..."
606 607
607(defun hfy-opt (symbol) 608(defun hfy-opt (symbol)
608 "Is option SYMBOL set." 609 "Is option SYMBOL set."
609 (memq symbol hfy-optimisations)) 610 (memq symbol hfy-optimizations))
610 611
611(defun hfy-default-header (file style) 612(defun hfy-default-header (file style)
612 "Default value for `hfy-page-header'. 613 "Default value for `hfy-page-header'.
@@ -1197,7 +1198,7 @@ MAP is the invisibility map as returned by `hfy-find-invisible-ranges'."
1197;; -- v 1198;; -- v
1198(defun hfy-face-at (p) 1199(defun hfy-face-at (p)
1199 "Find face in effect at point P. 1200 "Find face in effect at point P.
1200If overlays are to be considered (see `hfy-optimisations') then this may 1201If overlays are to be considered (see `hfy-optimizations') then this may
1201return a `defface' style list of face properties instead of a face symbol." 1202return a `defface' style list of face properties instead of a face symbol."
1202 ;;(message "hfy-face-at");;DBUG 1203 ;;(message "hfy-face-at");;DBUG
1203 ;; Fix-me: clean up, remove face-name etc 1204 ;; Fix-me: clean up, remove face-name etc
@@ -1795,8 +1796,8 @@ FILE, if set, is the file name."
1795It is assumed that STRING has text properties that allow it to be 1796It is assumed that STRING has text properties that allow it to be
1796fontified. This is a simple convenience wrapper around 1797fontified. This is a simple convenience wrapper around
1797`htmlfontify-buffer'." 1798`htmlfontify-buffer'."
1798 (let* ((hfy-optimisations-1 (copy-sequence hfy-optimisations)) 1799 (let* ((hfy-optimizations-1 (copy-sequence hfy-optimizations))
1799 (hfy-optimisations (add-to-list 'hfy-optimisations-1 1800 (hfy-optimizations (add-to-list 'hfy-optimizations-1
1800 'skip-refontification))) 1801 'skip-refontification)))
1801 (with-temp-buffer 1802 (with-temp-buffer
1802 (insert string) 1803 (insert string)
diff --git a/lisp/org/ox-odt.el b/lisp/org/ox-odt.el
index 29bc87875a1..6c74fb3eabd 100644
--- a/lisp/org/ox-odt.el
+++ b/lisp/org/ox-odt.el
@@ -262,7 +262,8 @@ This style is much the same as that of \"OrgFixedWidthBlock\"
262except that the foreground and background colors are set 262except that the foreground and background colors are set
263according to the default face identified by the `htmlfontify'.") 263according to the default face identified by the `htmlfontify'.")
264 264
265(defvar hfy-optimisations) 265(defvar hfy-optimizations)
266(define-obsolete-variable-alias 'hfy-optimisations 'hfy-optimizations "25.1")
266(defvar org-odt-embedded-formulas-count 0) 267(defvar org-odt-embedded-formulas-count 0)
267(defvar org-odt-embedded-images-count 0) 268(defvar org-odt-embedded-images-count 0)
268(defvar org-odt-image-size-probe-method 269(defvar org-odt-image-size-probe-method
@@ -3116,8 +3117,8 @@ and prefix with \"OrgSrc\". For example,
3116 (" " "<text:s/>") 3117 (" " "<text:s/>")
3117 (" " "<text:tab/>"))) 3118 (" " "<text:tab/>")))
3118 (hfy-face-to-css 'org-odt-hfy-face-to-css) 3119 (hfy-face-to-css 'org-odt-hfy-face-to-css)
3119 (hfy-optimisations-1 (copy-sequence hfy-optimisations)) 3120 (hfy-optimizations-1 (copy-sequence hfy-optimizations))
3120 (hfy-optimisations (add-to-list 'hfy-optimisations-1 3121 (hfy-optimizations (add-to-list 'hfy-optimizations-1
3121 'body-text-only)) 3122 'body-text-only))
3122 (hfy-begin-span-handler 3123 (hfy-begin-span-handler
3123 (lambda (style text-block text-id text-begins-block-p) 3124 (lambda (style text-block text-id text-begins-block-p)