aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJuanma Barranquero2011-11-30 17:33:05 +0100
committerJuanma Barranquero2011-11-30 17:33:05 +0100
commit5c32d3f2f93edced9c004698eaa2234d809fee02 (patch)
treeeca49b0e0cb0e6cb28de632bf28ceff944825cb3 /lisp
parent6db4e2d308c3ccef73b61c2f124f446fb367ea70 (diff)
downloademacs-5c32d3f2f93edced9c004698eaa2234d809fee02.tar.gz
emacs-5c32d3f2f93edced9c004698eaa2234d809fee02.zip
Fix typos.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/htmlfontify.el21
-rw-r--r--lisp/international/fontset.el4
-rw-r--r--lisp/textmodes/texinfmt.el2
4 files changed, 20 insertions, 13 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f9f53ce91ab..68e896ab590 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12011-11-30 Juanma Barranquero <lekktu@gmail.com>
2
3 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4 (hfy-shell-file-name, hfy-shell):
5 * international/fontset.el (x-decompose-font-name): Fix typos.
6
12011-11-29 Ken Brown <kbrown@cornell.edu> 72011-11-29 Ken Brown <kbrown@cornell.edu>
2 8
3 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878. 9 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el
index 056115f57b7..126b616a644 100644
--- a/lisp/htmlfontify.el
+++ b/lisp/htmlfontify.el
@@ -150,11 +150,11 @@ main-content <=MAIN_CONTENT;\\n\" rtfm-section file style rtfm-section file))
150 :prefix "hfy-") 150 :prefix "hfy-")
151 151
152(defcustom hfy-page-header 'hfy-default-header 152(defcustom hfy-page-header 'hfy-default-header
153 "Function called to build the header of the html source. 153 "Function called to build the header of the HTML source.
154This is called with two arguments (the filename relative to the top 154This is called with two arguments (the filename relative to the top
155level source directory being etag'd and fontified), and a string containing 155level source directory being etag'd and fontified), and a string containing
156the <style>...</style> text to embed in the document. 156the <style>...</style> text to embed in the document.
157It should return the string returned will be used as the header for the 157It should return a string that will be used as the header for the
158htmlfontified version of the source file.\n 158htmlfontified version of the source file.\n
159See also `hfy-page-footer'." 159See also `hfy-page-footer'."
160 :group 'htmlfontify 160 :group 'htmlfontify
@@ -166,8 +166,8 @@ See also `hfy-page-footer'."
166(defcustom hfy-split-index nil 166(defcustom hfy-split-index nil
167 "Whether or not to split the index `hfy-index-file' alphabetically. 167 "Whether or not to split the index `hfy-index-file' alphabetically.
168If non-nil, the index is split on the first letter of each tag. 168If non-nil, the index is split on the first letter of each tag.
169Useful when the index would otherwise 169Useful when the index would otherwise be large and take
170be large and take a long time to render or be difficult to navigate." 170a long time to render or be difficult to navigate."
171 :group 'htmlfontify 171 :group 'htmlfontify
172 :tag "split-index" 172 :tag "split-index"
173 :type '(boolean)) 173 :type '(boolean))
@@ -179,7 +179,7 @@ It takes only one argument, the filename."
179 :tag "page-footer" 179 :tag "page-footer"
180 :type '(function)) 180 :type '(function))
181 181
182(defcustom hfy-extn ".html" 182(defcustom hfy-extn ".html"
183 "File extension used for output files." 183 "File extension used for output files."
184 :group 'htmlfontify 184 :group 'htmlfontify
185 :tag "extension" 185 :tag "extension"
@@ -251,7 +251,7 @@ when not running under a window system."
251 251
252(defcustom hfy-post-html-hooks nil 252(defcustom hfy-post-html-hooks nil
253 "List of functions to call after creating and filling the HTML buffer. 253 "List of functions to call after creating and filling the HTML buffer.
254These functions will be called with the html buffer as the current buffer." 254These functions will be called with the HTML buffer as the current buffer."
255 :group 'htmlfontify 255 :group 'htmlfontify
256 :tag "post-html-hooks" 256 :tag "post-html-hooks"
257 :options '(set-auto-mode) 257 :options '(set-auto-mode)
@@ -342,7 +342,7 @@ commands in `hfy-etags-cmd-alist'."
342 :type '(file)) 342 :type '(file))
343 343
344(defcustom hfy-shell-file-name "/bin/sh" 344(defcustom hfy-shell-file-name "/bin/sh"
345 "Shell (bourne or compatible) to invoke for complex shell operations." 345 "Shell (Bourne or compatible) to invoke for complex shell operations."
346 :group 'htmlfontify 346 :group 'htmlfontify
347 :tag "shell-file-name" 347 :tag "shell-file-name"
348 :type '(file)) 348 :type '(file))
@@ -595,7 +595,8 @@ in a windowing system - try to trick it..."
595 (setq cperl-syntaxify-by-font-lock t))) 595 (setq cperl-syntaxify-by-font-lock t)))
596 (setq hfy-cperl-mode-kludged-p t))) ) 596 (setq hfy-cperl-mode-kludged-p t))) )
597 597
598(defun hfy-opt (symbol) "Is option SYMBOL set." 598(defun hfy-opt (symbol)
599 "Is option SYMBOL set."
599 (memq symbol hfy-optimisations)) 600 (memq symbol hfy-optimisations))
600 601
601(defun hfy-default-header (file style) 602(defun hfy-default-header (file style)
@@ -1066,7 +1067,7 @@ See also `hfy-face-to-style-i', `hfy-flatten-style'."
1066 ;; text-decoration is not inherited. 1067 ;; text-decoration is not inherited.
1067 ;; but it's not wrong and if this ever changes it will 1068 ;; but it's not wrong and if this ever changes it will
1068 ;; be needed, so I think it's better to leave it in? -- v 1069 ;; be needed, so I think it's better to leave it in? -- v
1069 (nconc final-style '(("text-decoration"."none")))))) 1070 (nconc final-style '(("text-decoration" . "none"))))))
1070 final-style)) 1071 final-style))
1071 1072
1072;; strip redundant bits from a name. Technically, this could result in 1073;; strip redundant bits from a name. Technically, this could result in
@@ -1992,7 +1993,7 @@ FILE is the specific file we are rendering."
1992 tags-list) ))) 1993 tags-list) )))
1993 1994
1994(defun hfy-shell () 1995(defun hfy-shell ()
1995 "Return `shell-file-name', or \"/bin/sh\" if it is a non-bourne shell." 1996 "Return `shell-file-name', or \"/bin/sh\" if it is a non-Bourne shell."
1996 (if (string-match "\\<bash\\>\\|\\<sh\\>\\|\\<dash\\>" shell-file-name) 1997 (if (string-match "\\<bash\\>\\|\\<sh\\>\\|\\<dash\\>" shell-file-name)
1997 shell-file-name 1998 shell-file-name
1998 (or hfy-shell-file-name "/bin/sh"))) 1999 (or hfy-shell-file-name "/bin/sh")))
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el
index 9f6520c7238..2425ee46eea 100644
--- a/lisp/international/fontset.el
+++ b/lisp/international/fontset.el
@@ -858,9 +858,9 @@ Internal use only. Should be called at startup time."
858(defun x-decompose-font-name (pattern) 858(defun x-decompose-font-name (pattern)
859 "Decompose PATTERN into XLFD fields and return a vector of the fields. 859 "Decompose PATTERN into XLFD fields and return a vector of the fields.
860The length of the vector is 12. 860The length of the vector is 12.
861The FOUNDRY and FAMILY fields are concatinated and stored in the first 861The FOUNDRY and FAMILY fields are concatenated and stored in the first
862element of the vector. 862element of the vector.
863The REGISTRY and ENCODING fields are concatinated and stored in the last 863The REGISTRY and ENCODING fields are concatenated and stored in the last
864element of the vector. 864element of the vector.
865 865
866Return nil if PATTERN doesn't conform to XLFD." 866Return nil if PATTERN doesn't conform to XLFD."
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el
index 094885bb0d0..4652899546c 100644
--- a/lisp/textmodes/texinfmt.el
+++ b/lisp/textmodes/texinfmt.el
@@ -518,7 +518,7 @@ if large. You can use `Info-split' to do this manually."
518 518
519;;; Handle paragraph filling 519;;; Handle paragraph filling
520 520
521;; Keep as concatinated lists for ease of maintenance 521;; Keep as concatenated lists for ease of maintenance
522 522
523(defvar texinfo-no-refill-regexp 523(defvar texinfo-no-refill-regexp
524 (concat 524 (concat