aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorMiles Bader <[email protected]>2007-10-27 09:07:17 +0000
committerMiles Bader <[email protected]>2007-10-27 09:07:17 +0000
commitfdc9061358d3654e14bfc1419632e1d6c6c5c13e (patch)
tree00f5484d576513deddd938a9a277d0db860b9a5b /lisp/textmodes
parentebe4c71027cd6ec8583631e895e7fdd3decfc099 (diff)
parentb6ff295c434269fe824ec47cbfc87c6a02dfd94d (diff)
Merge from emacs--rel--22
Patches applied: * emacs--rel--22 (patch 131-137) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 261-262) - Update from CVS Revision: [email protected]/emacs--devo--0--patch-908
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/css-mode.el4
-rw-r--r--lisp/textmodes/tex-mode.el3
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index 0ad883ca36..8660f75fa9 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -37,6 +37,8 @@
"Cascading Style Sheets (CSS) editing mode."
:group 'languages)
+(eval-when-compile (require 'cl))
+
(defun css-extract-keyword-list (res)
(with-temp-buffer
(url-insert-file-contents "http://www.w3.org/TR/REC-CSS2/css2.txt")
@@ -295,7 +297,7 @@
;; css-mode but for all modes.
(save-restriction
(narrow-to-region (nth 8 ppss) eol)
- (comment-normalize-vars)
+ (comment-normalize-vars) ;Will define comment-continue.
(let ((fill-paragraph-function nil)
(paragraph-separate
(if (and comment-continue
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 06e26d21aa..048c792904 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -1932,7 +1932,8 @@ FILE is typically the output DVI or PDF file."
(not (file-symlink-p f)))
(unless (string-match ignored-dirs-re f)
(setq files (nconc
- (directory-files f t tex-input-files-re)
+ (ignore-errors ;Not readable or something.
+ (directory-files f t tex-input-files-re))
files)))
(when (file-newer-than-file-p f file)
(setq uptodate nil)))))