aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/doc-view.el
diff options
context:
space:
mode:
authorTassilo Horn <[email protected]>2009-01-27 18:34:02 +0000
committerTassilo Horn <[email protected]>2009-01-27 18:34:02 +0000
commitff0def0e8f1a233c48d05399e1ef632426b10d23 (patch)
treedbc95d9df44e622ab2276ee430d0c6538a2cc0c6 /lisp/doc-view.el
parentb4ba5e86135de90e99869f15d5f842121ed7f047 (diff)
Fix broken call to string-match.
Diffstat (limited to 'lisp/doc-view.el')
-rw-r--r--lisp/doc-view.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 2507b86447..8817db739e 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?