summaryrefslogtreecommitdiff
path: root/plugins/emacs/emacsclient.sh
AgeCommit message (Collapse)Author
2019-04-14emacs: revert cab1ac6e682038b2ceca9d16f8c458c0e79149ca (#7765)akinnane
Revert cab1ac6e682038b2ceca9d16f8c458c0e79149ca The change from the above commit breaks opening a new emacs frame if there isn't a existing frame open. When emacs is running in daemon mode, there will always be a frame associated with the daemon, even if there are no visible frames. The lisp function `frame-list`, will always return 1 frame. ``` emacsclient --eval '(frame-list)' (#<frame F1 0xa3c680>) ``` When an real frame is open, two frames are reported by the `frame-list` function. ``` emacsclient --eval '(frame-list)' (#<frame F1 0xa3c680> #<frame emacs Prelude - ~/oh-my-zsh/plugins/emacs/emacsclient.sh 0xf50e10>) ``` See: https://emacs.stackexchange.com/questions/44537/extra-frame-in-visible-frame-list-when-started-in-daemon-mode-is-causing-prob https://emacs.stackexchange.com/questions/18859/dont-let-the-daemon-frame-make-a-file-visible
2019-04-09emacs: use open frame if there is one presentMarc Cornellà
Fixes #5779 Fixes #5405
2016-07-19Update emacs plugin. (#5201)soredake
- Updated minimal version from 23 to 24. - Added new aliases that fix unexpected close with -nw option. - Removed some old aliases. - Fixed line that detects open frames.
2016-06-20Fix issue with `dash` as the default `/bin/sh` script executing program. (#5177)hjpotter92
* `function` keyword removed * Fixup the `if` statement and operators
2016-06-17emacs plugin tweak to open buffer from stdin (#5126)Jordan Gwyn
2014-03-24Add check for display list equals nilJan Ehrhardt
Emacs returns either a sequence of availbale displays or nil. Checking nil fixes this script to work as expected.
2011-10-10CommentTristan Carel
2011-04-15- Fix pass of parametersTristan Carel
- Add new function `ecd'.
2011-04-14More commentsTristan Carel
2011-04-13Add new plugin emacs, to take benefit of daemon capabilities of emacs >=23Tristan Carel