diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-04-12 17:39:44 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-04-12 17:39:44 +0200 |
commit | 2d6af8ddfef95be7c54ff803926b6ddad69afb44 (patch) | |
tree | b8862052b62b50afbc2405d5e292ef4550faf1f2 /lisp/dframe.el | |
parent | bf0ed58aa450f3dc0b9701b066b46cdbfdd0513a (diff) | |
download | emacs-2d6af8ddfef95be7c54ff803926b6ddad69afb44.tar.gz emacs-2d6af8ddfef95be7c54ff803926b6ddad69afb44.tar.bz2 emacs-2d6af8ddfef95be7c54ff803926b6ddad69afb44.zip |
lisp/dframe.el (dframe-current-frame): Remove spurious quote.
Diffstat (limited to 'lisp/dframe.el')
-rw-r--r-- | lisp/dframe.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dframe.el b/lisp/dframe.el index 312f49f6053..71773b1abf8 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))) |