aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJuanma Barranquero <[email protected]>2011-04-12 17:39:44 +0200
committerJuanma Barranquero <[email protected]>2011-04-12 17:39:44 +0200
commit2d6af8ddfef95be7c54ff803926b6ddad69afb44 (patch)
treeb8862052b62b50afbc2405d5e292ef4550faf1f2 /lisp
parentbf0ed58aa450f3dc0b9701b066b46cdbfdd0513a (diff)
lisp/dframe.el (dframe-current-frame): Remove spurious quote.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/dframe.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6068454f78..6f1979a5b5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-12 Juanma Barranquero <[email protected]>
+
+ * dframe.el (dframe-current-frame): Remove spurious quote.
+
2011-04-12 Glenn Morris <[email protected]>
* calendar/cal-tex.el (cal-tex-end-document):
diff --git a/lisp/dframe.el b/lisp/dframe.el
index 312f49f605..71773b1abf 100644
--- a/lisp/dframe.el
+++ b/lisp/dframe.el
@@ -632,7 +632,7 @@ selecting FRAME-VAR."
FRAME-VAR is the variable storing the currently active dedicated frame.
If the current frame's buffer uses DESIRED-MAJOR-MODE, then use that frame."
(if (not (eq (selected-frame) (symbol-value frame-var)))
- (if (and (eq major-mode 'desired-major-mode)
+ (if (and (eq major-mode desired-major-mode)
(get-buffer-window (current-buffer))
(window-frame (get-buffer-window (current-buffer))))
(window-frame (get-buffer-window (current-buffer)))