diff options
author | Tassilo Horn <tassilo@member.fsf.org> | 2009-01-27 18:34:02 +0000 |
---|---|---|
committer | Tassilo Horn <tassilo@member.fsf.org> | 2009-01-27 18:34:02 +0000 |
commit | ff0def0e8f1a233c48d05399e1ef632426b10d23 (patch) | |
tree | dbc95d9df44e622ab2276ee430d0c6538a2cc0c6 /lisp/doc-view.el | |
parent | b4ba5e86135de90e99869f15d5f842121ed7f047 (diff) | |
download | emacs-ff0def0e8f1a233c48d05399e1ef632426b10d23.tar.gz |
Fix broken call to string-match.
Diffstat (limited to 'lisp/doc-view.el')
-rw-r--r-- | lisp/doc-view.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 2507b864470..8817db739e1 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -1095,7 +1095,7 @@ toggle between displaying the document or editing it as text. (= (point-min) (point-max))) ;; The doc is empty or doesn't exist at all, so fallback to an ;; editing mode. - (if (string-match "[eE]?[pP][sS]" (file-name-extension buffer-file-name) "") + (if (string-match "[eE]?[pP][sS]" (file-name-extension buffer-file-name)) (ps-mode) (fundamental-mode)) ;;Should we activate d-v-minor-mode here? |